Every time the subject of 'law' raises it's somewhat battered head the following quote always comes to mind.
The law, in its majestic equality, forbids the rich as well as the poor to sleep under bridges, to beg in the streets, and to steal bread.
Anatole France (1844 - 1924), The Red Lily, 1894.
There are countless example of 'bad law' and almost as many different opinions on the subject. It depends, of course on your point of view. The arguments have raged since the neighbours moved into the cave next door. But for me it is when the 'spirit and intent' of the law suffers that the greatest damage is done.
Opinion has caused more trouble on this little earth than plagues or earthquakes. Voltaire.