There is a famous joke that goes like this:
There is a huge crowd drinking in a pub in the outskirts of a small town. A police car waits in hiding nearby, to catch anyone who tries to drive away while under the influence. As the closing hour approaches, a man stumbles through the door, and falls down. He tires to get up, falls again. Then he crawls on all fours to the parking lot. He goes to a car, tries to stand up, but falls several times. Then he finally slowly manages to open the car door, and takes a lot of time sitting in. He then tries to start the car unsuccessfully, several times, until he at last gets it done, and the engine starts. He proceeds to drive out of the parking lot, when the police turn on their lights, stop him, and administer an alcohol test. To their surprise, it shows 0%. The driver immediately starts acting sober, and when the policemen ask in bewilderment what happened, he just says "We drew lots, and I was the bait". And by that time all the guests have left a long time ago.
Assume that in this situation the driver is smarter and does not say anything, so he does not admit trying to interfere with law enforcement. Was it then legal what he did?