Criminal trespass? That can't be right.
Is she a student there? If she were not there, it would be truancy. If the teacher asked her to go to a detention room and she refused, it would be a school disciplinary action, but not criminal.
-PJ
Any time you are on someone else’s property, whether originally as an invitee or not, and refuse to leave when asked you are committing criminal tresspass