Judges clamp down on court appearances