we have minimum sentence rules, we jail people for possession of drugs when jail has been proven to not prevent or cure addiction.
Yes there are principles of the rule of law, but they've been thrown out of the window in favour of whatever sounds like "strong on crime".