(a) Authorized representatives of the fire authority having jurisdiction, as may be in charge at the scene of a fire or other emergency involving the protection of life or property or any part thereof, shall have the power and authority to direct such operation as may be necessary to extinguish or control any fire or perform any rescue operation. The fire authority having jurisdiction may prohibit any person, vessel or vehicle from approaching the scene and may cause to be removed any person, vehicle or vessel which may impede or interfere with the operations of the fire authority. (b) Any person who obstructs the operations of the fire department in connection with extinguishing any fire, or other emergency, or disobeys any lawful command of the fire official who may be in charge at the scene, shall be guilty of a misdemeanor.