The chief or other authorized officer of any fire department or fire company in command at a fire, and his subordinates upon his order or direction, shall have the right to remain at the scene of fire, including remaining in any building or house, for purposes of protecting the property and preventing the public from entry into the premises, until such reasonable time as the owner may resume responsibility for the protection of the property.
Va. Code § 27-17.1