(a) Every person present at the scene of a fire shall be subject and obedient to the orders of any police officer or member of the Fire Department there present as to any matter relating to extinguishment of the fire, the removal and protection of property or the maintenance of order; no person present at the scene of any fire shall disobey any such lawful order of any police officer or member of the Fire Department there present.
(b) Firemen and police officers present at the scene of any fire shall have power to arrest any person for disobedience of the lawful order of a police officer or fireman given pursuant to this section and to hold the offender in custody until the fire has been extinguished, at which time he shall be taken before an appropriate judicial officer to be dealt with according to law.