False dilemma. We can mandate them by court order to attend treatment programs. There are ways of helping petty criminals that don't involve locking them in a box 24/7.
Sure you can, but do we? And are there sufficient facilities to do so? A judge also mandated that the federal government house migrant children in a humane way but how well is that working out...point being that you can’t mandate something that there are no resources to do.