A fire chief whose department is fighting a blaze has sole authority to determine whether a structure must be demolished to protect lives and other property, a New Jersey appeals court ruled on Tuesday.

The three-judge panel said a statute and an administrative regulation that requires building code officials to give property owners 24 hours’ notice of a pending demolition does not apply to a fire chief who is acting in his professional responsibility.