Judges furious as police quit courts