(b) The secretary and the state fire marshal are hereby authorized and empowered to enter into a contract authorizing the state fire marshal and the fire marshal's deputies or lawful agents to enforce all or any portion of the lodging standards promulgated pursuant to this act. Such contract shall designate specific lodging establishments, or types of lodging establishments, wherein such authority may be exercised. Any inspection of such establishments by the state fire marshal or the fire marshal's deputies or lawful agents, to determine compliance with lodging standards established pursuant to this act, and any notice of noncompliance issued as a result of any such inspection, shall have the same force and effect as if such had been done by the secretary. Such contract also may provide similar authority for the secretary and the secretary's officers, employees and agents with respect to enforcement of all or any portion of the Kansas fire prevention code in specified lodging establishments, or in types of lodging establishments. Any inspection of such establishments by the secretary, or the secretary's officers, employees and agents, to determine compliance with the Kansas fire prevention code, shall have the same force and effect as if performed by the state fire marshal or the marshal's deputies and agents.