When necessary in the performance of his duties, the Fire Marshal shall have the authority to enter upon and examine any building or premises where any fire has occurred, and other buildings and premises adjoining or near the same, which authority shall be exercised only with reason and good discretion.