Sections 185.07 to 185.18 shall not be held to apply to police officers or firefighters or any other public officials charged with duties relating to public safety.