It's the other situation where law stops being code. If you do something that is technically illegal but probably oughtn't be then the law can be reinterpreted in your favor.
Assuming you followed the absolute letter of the law with your totally-not-a-brothel then you would be fine (until the law is amended).
"money or its equivalent"
"offers"
"adultery"
"fornication"
etc.
The law is written in terms of broad concepts that a judge can interpret. In most cases there is no such thing as "absolute letter of the law", partly because English makes that impossible, but mostly because legislating such strict specific definitions would be a bad idea. I think the impossibility of bug-free software makes it clear that we wouldn't want laws written like code.
Select parts of laws may have the rigor of a programming language, but the greater portion expresses things for humans, with human ambiguity.
A police trooper pulled me over for ~80 in a 65 (deserted highway at night). He somehow transposed the last two numbers in my license plate, so I obviously assumed I was home free. Until, while I was on the stand, the judge just looked at me for about 10 seconds, said "Were you driving the car?" "[pause] Yes, your honor." "[gavel slam] Guilty."
Remembering this would put a stop to 90% of legal "discussions" on HN.