Notwithstanding any other law, any public employee required to wear a uniform during the course of public employment shall not be deemed to violate any law, rule, code or regulation regulating the style or appearance of uniform solely by virtue of the display on the shoulder area of the sleeve of such uniform of an American flag not larger than three inches by five inches. The exact location of the flag on the sleeve may be specified by the appropriate executive officer.