(3) Right of Entry. The marshal, an inspector, the head of the fire department, or any person
to whom the marshal or the head of the fire department may delegate the authority, may, in the
performance of the duties imposed by M.G.L. c. 148, or in the furtherance of the purpose of any
provision of any law, ordinance or by-law relating to the subject matter of M.G.L. c. 148 or of
any rule or regulation contained in 527 CMR, or any order of the marshal or head of the fire
department, enter any reasonable hour any building or other premises, or any ship or vessel, to
make an inspection or investigation, without being held or deemed to be guilty or trespass.
(M.G.L. c. 148, ? 4.)