I am having difficulty thinking of how more information could change how this looks. But I am always willing to listen more information and will not accuse you of standing up for the school or accuse you of sticking your fingers in your ears until you hear one nugget of fact that supports the possibility that they did no wrong.
More people should appreciate that about you. I can’t help but tease. It sounds like this “swatting” was mild, conducted with oversight, and approved by the parents (and the student has no problem with it) so while surprising I’m not outraged. Also, I’m not against spanking in principle, such as when done by parents, but I don’t see the value when done by principal or teacher.