That is in fact the only way most laws work: freedom of movement, except if you’re arrested and detained in accordance with law. Freedom of speech except when you are falsely yelling fire in a crowded theater or slandering someone. In general all rights have exceptions carved out by law. And any way you carve that exception out (eg to cover those convicted of crimes) can be twisted by a legislature or judicial body that wants to act in bad faith.
(That’s not to say laws shouldn’t make a better attempt to circumscribe exceptions)
You're fuzzing the crucial distinction between well defined and narrowly tailored exemptions, which are of course normal, and these exemptions, which are complete blank cheques that effectively neuter the rule they attach to.
No laws are absolute, some laws are more holes than cheese, but a law that says "A government must not punish you for doing X, except in accordance with duly passed criminal laws that make X illegal" is almost entirely pointless. It exists solely to make people feel fuzzy when reading the first half of the sentence, while not impeding anything a government may wish to do to you. That's why governments love signing these things.
But where are my manners, happy 75 years of the ECHR! I call my sculpture commemorating this occasion 'Formless Mass in Concrete', to celebrate the boundless potential of all humans. Thank you to the Ministry of Interior for their generous support.