349.02 Police and traffic officers to enforce law. (1) It is the duty of the police, sheriff’s and traffic departments of every unit of government and each authorized department of the state to enforce chs. 346 to 348 and 350. Police officers, sheriffs, deputy sheriffs and traffic officers are authorized to direct all traffic within their respective jurisdictions either in person or by means of visual or audible signal in accordance with chs. 346 to 348 and 350. In the event of fire or other emergency, police officers, sheriffs, deputy sheriffs and traffic officers and officers of the fire department may direct traffic as conditions may require notwithstanding the provisions of chs. 346 to 348 and 350. (2) (a) Notwithstanding sub. (1), a police officer, sheriff, deputy sheriff, traffic officer or motor vehicle inspector may not stop or inspect a vehicle solely to determine compliance with a