Whenever it is necessary in the interest of public peace or safety, the director, with the consent of the owner of any lands designated as a hazardous fire area, may declare such lands closed to entry by any person. Any public highway traversing such a hazardous fire area, shall, however, be excluded from the order of closure, and the closure to entry does not prohibit or curtail the entry or use of the lands by the owner of the lands or his agent, nor the entry by any federal, state or county officer upon the closed area in the performance of his official duties. All state and county law enforcement officers shall enforce the order of closure.