There are (at least) two ways to think about the law. One (which technical people tend to subscribe to) is that the law is analogous to a computer code for the society and the ideal is that it is followed at all times. The second is that the law is there as a backup when someone is clearly causing trouble and other, more informal means to stop them have failed.
In the second interpretation, it is desirable to have some sort of law always ready to apply when a problematic situation arises, and everyone committing technical felonies every now and then is just a (mostly) harmless side effect of the system working as intended.
The second interpretation is, I believe, also often applied when new laws are written. Usually the logic is: there is some kind of a problem that the politicians need to address, and the problem itself is too complex to directly address so some kind of proxy law is made that gives an excuse to throw problematic people in jail. See e.g. loitering laws.
In the second interpretation, it is desirable to have some sort of law always ready to apply when a problematic situation arises, and everyone committing technical felonies every now and then is just a (mostly) harmless side effect of the system working as intended.
The second interpretation is, I believe, also often applied when new laws are written. Usually the logic is: there is some kind of a problem that the politicians need to address, and the problem itself is too complex to directly address so some kind of proxy law is made that gives an excuse to throw problematic people in jail. See e.g. loitering laws.