Judges get tough on unprepared lawyers