Assuming the specialised help isn’t just worse facilities somewhere else, maybe (or maybe not). In practice - who is going to ensure the other facilities are of a good standard? The abusive parents?
If you don’t help that kid, the other 30 will spend their whole lives sharing a society with an adult who didn’t get help. That’s an unfair drain on their life too (increased crime, policing costs, etc).
Putting the disruptive kids in the same place as everyone else means the incentives are right to do something useful to help them.