What the hell is the difference if it's the program punishing them, or the parents? In good programs the punishments are similar!!!! They are not overly excessive. You cannot force parents to parent. Some don't know how to, or even where to start! That is why some kids are so out of control, and their parents can't handle them!!!!!
A parent punishing someone is different from locking someone away for a fucking year for no reason except someone said so and punishing them there, and if I really have to spell it out then you're clearly too fucked up from your past trauma to have anything but a private opinion about this.
In other words, shut the fuck up.
In the case that parents can't parent, guess what? Their relatives, foster care, or group homes that aren't coercive and let them go to school and get jobs and have lives are available. There is no need to turn to involuntary incarceration, it isn't justified unless they are LITERALLY out of control, and those have existed since before programs came into being and will continue to long after they're gone.
Also, if a "parent" finds a child to be "out of control" but they are not medically out of control or in the custody of the police, guess what? THEY ARE NOT OUT OF CONTROL, THE PARENTS ARE FUCKING FAILURES.
Programs are NOT equipped to deal with a truly out of control teenager. They're violent and usually end up kicked out or in a jail after assaulting someone!