Officers of the police department or such officers as are assigned by the Chief of Police are hereby authorized to direct all traffic by voice, hand, or signal in conformance with traffic laws. In the event of fire or other emergency or to expedite traffic or to safeguard pedestrians, officers of the police department may direct traffic as conditions may require notwithstanding the provisions of the traffic laws.