(a) (1) A fire official may inspect a building, structure, or other place under the jurisdiction of the fire official, except the interior of a private dwelling, where combustible material has been allowed to accumulate or where the fire official has reason to believe that combustible material has accumulated or may be accumulated.
(2) At any time and without liability for trespass, a fire official:
(i) may enter, at the fire official’s own risk, a building, including a private dwelling, or on premises where a fire is burning, or where there is reasonable cause to believe a fire is burning, to extinguish the fire;
(ii) may enter, at the fire official’s own risk, a building, including a private dwelling, or on premises near the scene of a fire to protect the building or premises or to extinguish the fire;
(iii) when responding to or operating at a fire or other emergency:
1. may order an individual to leave a building or place in the vicinity of the fire or other emergency to protect the individual from injury;
2. may order, after consultation with the senior railroad or transportation official present, a convoy, caravan, or train of vehicles, craft, or railway cars to be detached or uncoupled if the fire official determines that to do so is in the interest of safety of individuals or property; and
3. may enter a building that is in danger of the spread of fire to prevent a potential emergency, including an explosion, in the building; and
(iv) to maintain order in the vicinity of a fire or other emergency:
1. may direct the actions of firefighters at the fire or other emergency;
2. may keep bystanders or other individuals at a safe distance from the fire or other emergency and from fire equipment;
3. may facilitate the speedy movement and operation of fire-fighting equipment and firefighters; and
4. until the arrival of sufficient police officers, may direct traffic personally or have a subordinate do so to facilitate the movement of traffic.
(b) Notwithstanding subsection (a) of this section, a fire official may not inhibit or obstruct members of rescue squads from performing their duties in the vicinity of a fire or other emergency.