Where an existing building or structure falls within the jurisdiction of both state and local enforcement authorities, the final review of any part of the project which is under the jurisdiction of both such enforcement authorities shall rest with the state authority; provided, however, the local fire and building authorities shall agree, in writing, with any compliance alternatives before such can be approved by the state authority.