Also the US did not get rid of corporal punishment entirely, the south still has it in some places. https://en.wikipedia.org/wiki/School_corporal_punishment_in_...
At least in the US, teachers and administrators are given rather broad latitude to treat students differently, without requiring justification and very often based on their own personal biases and prejudices.
If one's ideals fall over so easily, what would happen in the event of an actual serious attack on those ideals?