Where I'm from people doing the beatings would get warnings, detention, special class and consultation, or as a last resort youth detention center ("prison" for kids with focus on rehabilitation) in that order. Sure, you could also move schools but this seems more to have been a decision taken by parents and not the school system itself.