There can also be an argument that laws are always only an approximation, and they should be broken in corner cases where they clearly don't work as intended.
Civil disobedience can also be a useful societal force, and with perfect law enforcement it becomes impossible.