the law has a huge number of underspecified spots where it just asks people to be reasonable
this is not perfect but it is a thousand times better than the alternative of trying to design a perfect system of laws that takes every edge case and nuance into account
by the time you are trying to design a perfectly principled system of laws that can work in the presence of overwhelmingly unreasonable enforcers and/or an overwhelmingly unreasonable populace, you have already lost
if you think discretion in enforcement leads to unjust outcomes, wait until you see what lack of discretion looks like