Judge orders community mediation for vice principal who threw beer