Every nations with codified laws (a.k.a EU) is like that.
We have codified blasphemy and anti-defamation laws which more or less enforced to whomever not popular.
Might work if we have smart people sitting in the law maker / enforcer position, but in case of this, apparently they are as stupid as those making laws subsidising diesels.
The world is getting too much Americanised (or Britain-ised) with their common laws. Back then, we thought this was normal.