Where I grew up, if you needing a spanking while at school, you got it, and then you had the opportunity to call home to tell your parents about it.
There were a few kids who "weren't allowed" to have them per parental dictate, and those were the kids who spent the day in the office on the couch in front of the principal's desk for three full days.
If you deserved it, you got it.
I was spanked once when I didn't deserve it, and oh god, Mema about had a fucking fit. She called the superintendant of schools for the county, relayed the happening to him, and dragged him to my school where she met with him and the principal, who then called me out of class along with the teacher.
First thing my grandmother said, "How in the world do you get away with whipping a child for READING?!"
Teacher: "She wasn't doing her classwork, and it was disruptive to the rest of the class."
Mema (livid): "Reading is disruptive? Did she have all of her work done, or did you bother to ask?"
Teacher (looking uncomfortable): "We have designated work times..."
Mema: "You touch a hair on her head again and I'll see you in court. You should be glad she's reading instead of being really disruptive."
Teacher: "Well I just don't know how to handle a gifted child."
Mema: "You get up off your butt and give her something to do! Teach instead of sitting behind your desk!"
Needless to say, I was not the pet of the school after that. Everyone was afraid of pissing Mema off. But it did help: They now have classes for gifted kids, where reading is not a capital offense.

Thanks Mema!