Yes she can. But the outcome of the trial all depends on the story told, how it's told, and how serious this situation is. Honestly, I think this whole situation could've been easily avoided if the teacher wouldn't have been obviously angry as she seemed to be. Maybr she missed the D or something? Jokes aside, I believe your friend will come out of this ok while your teacher comes out looking psychopathic, unecessary, and stupid/wrong. I'm pretty sure witnesses will be called on and the only witnesses there were your piers. I'm pretty sure the same story will be told in the SAME way each time witnesses tell it. One of my teachers in middle school did practically the same thing, and after winter break, he was never seen again. Good luck!
P.S.- Class of 2017! Woot!
I just told you!