Flashing a badge while conducting a search or inspection and claiming to be a city(government) employee would be reasonable for most people to assume the carrier is a LE unless they identify themselves as other. Flash any badge that you displayed and make a demand and you are not a LE will most likely end in arrest.