Possibly even “Hate Crime”
Not a proportional response. If a teacher can’t handle things better than this, they should not be allowed to be teaching students.
In the day, a parent or another adult family member would have handled this sort of issue and there would be a lesson learned. And people would have expected things to happen that way. I’d insist on jail time were that my kid.