Contempt of court gets you six months or more? Ah, those activist judges.
This is a nifty little scheme that many state and county governments pull on people with problem children and teenagers -- they charge them for their enforcement of the law. On the one hand, I can see the taxpayers' side of it, that they shouldn't be stuck bearing the brunt of others' poor parenting. However, most of these parents still have jobs to go to, other children to attend to, etc. It's not always as cut-and-dried as that; they don't always have a whole lot of options enabling them to do something about their asshole teenager.
But you know, as long as we're sticking them with the bill, at least until the little darling is of majority age. And if you don't have the money, here's a nice six-month or so sentence for contempt of court.
Funny how that works. The jailers are just doing what they're told, but the same day someone with some legal ability gets involved, they let this poor bastard go. Wonder how long they would have kept him if his cellmate hadn't told the PD.
Habeas corpus. It's not just shredded for terrists anymore.