It is, if you consider selective enforcement.
That's the exact opposite of a well drafted law.
Good laws are clear, straightforward, and apply to citizens in equal measure. If you can't know if you are following the law or not, you might as well not have law and instead rely completely on arbitrary judgements.
It is, if you consider selective enforcement.