One does wonder if the school couldn't at least be bothered to tell a less ridiculous lie about their reasoning:
Ah, yes, a high school senior sitting alone in a classroom is clearly a real safety hazardThe district says it's responsible for students' safety and they can't be unsupervised.