Part of the weirdness, is a backlash against the bad old days when confinement "for their own good" could extend to kids who simply disobeyed their parents. We think of expanding the capacity to confine people like this, it carries a whole lot of emotional baggage. (which seriously needs to be moved through, really)
Another facet of the weirdness, relates to the question of, "Who do we build these places for? The people on the inside, or the people on the outside?" There's an enormous amount of cognitive dissonance around this question. Again, something I wish we could process as a democracy, not just a captive marketplace.
Basically, all the weird head games having to do with prison, are even weirder when they're about mental health.