IMO what is wrong was that the student was able to fire a teacher for complaining against the student when the teacher is the boss. Yes of course some students will try, but it should not be allowed to actually happen.
What I find the weirdest is that schools can strip search students without a warrant or consulting the parents (if I remember the SC decision correctly), but will give in to pressure like this. I'd rather have the reverse be true.