Depending on your behavior, you could have to accept it.
Anytime you are dealing with code people, regulators, inspectors and such, if you behave agitated, irritated, confrontational, threatening, and such, they will bring along some enforcers.
Idiot