how long does court approval take