I have always thought it rather easy to distinguish between:
1) Injecting or injesting dangerous (do not construe as endorcing) or supposedly dangerous substances.
2) Smacking someone and taking their money. 3) Endangering a child, especially one in your charge.
It's clear to me that one of these behaviors cannot be successfully modified in a courtroom. Perhaps for one individual, but not for society as a whole.
Since the growth of the drug / courtroom industry into an integral part of our gross national economy, no really innovative alternatives have ever even been attempted.