Judge orders lawyers to take training, understand religious