In NYC, there is an unspoken more that people who wish to stand on subway escalators should stay on the right so that people who wish to walk up escalators can use the left side. This is not a law; it is not derived from authority; it is not enforced with coercion. The worst you'll get, probably, is a snide 'excuse me'.
Authority is a degenerate form of respect. Law is a degenerate form of consensus. Arbitration is a degenerate form of mediation. Holding ideas accountable to human beings is superior to holding human beings accountable to ideas. At the end of the day, we are only accountable to each other, not the law.
This is a really deep question, which is part of why I dropped the entire discussion on the topic in my initial post so I wouldn't get too sidetracked.
One problem we have is that if we can encode laws into computer programs, which is to say, basically math, we also become subject to the problems that creates. For instance, raise your hand if you enjoy min-maxing in an RPG or MMO or something. Now, keep your hands raised and add a big evil grin for me if you'd love the opportunity to minmax real laws with such impunity.
In theory, even human enforcement is a computational system which could in theory be attacked the same way, but in its own weird way, its own enormous complexity and frankly at times random enforcement prevents the really terrible gaming of the law by preventing an attacking entity from fully accurately simulating the system for the purposes of attacking it.
(I said something that may trigger some knee-jerk reactions in some people about "gaming" the system. But however bad you think it is in the real world... and I would agree that it is bad in many places... it has nothing on the gaming you can do on something specified with programmatic precision and with no human in the loop to prevent truly stupid states from emerging. This isn't making your way to the top over the years by bribery and flattery, this is waking up one day and discovering that one person has literally all the money now.)
And cars don't drive themselves. So I guess that solves our problem.
You can read my post below (https://news.ycombinator.com/item?id=10154344) to see how I'd start addressing your other concerns. Basically, if an enforcement officer recognizes some new variables, they can write them down in the law and then enforce it.
What you do is try it, and when it fails, you manage the failure and modify your system.
An example of such incidence is when people trust the police to the point that they prejudge conflicts involving the police on the basis that they represent the law, and the law is good, therefore the police are good. This is still happening.
I guess the question is, you can beat the drum about this, but to what tune? What's the answer? How could a self-driving car decide when it is okay to break traffic rules without a certain level of human discretion? How could the laws be re-written such that the effect is the same?