The provisions of Article 3 (commencing with Section 39140) of Chapter 2 of Part 23 of Division 3 of Title 2, or Article 7 (commencing with Section 81130) of Chapter 1 of Part 49 of Division 7 of Title 3 shall not apply to any building which is used by a private postsecondary school for purposes of providing career technical skill training for pupils pursuant to a contract under Section 8092 entered into by a public school entity and a private educational institution; provided that all of the following requirements are met: