Unless the world turns to 1s and 0's, execution of a law will always in part depend on interpretation of the law by the executor. To pretend otherwise is to mistake ideals for reality.
Also, when those executors of the law are determined to be the sole arbiters of what the law means without any appeal or restraint, then the “they are experts” ideal has been mistaken for reality.
Imagine if the courts deferred to the police way more, because they are experts on what “crime” really is and know what the written law should be interpreted to mean. Oh, and let the police be the judges and run their own courts, too.