An apprentice attending a local educational agency in classes of related and supplemental instruction, as provided under Section 3074 of the Labor Code and in accordance with the requirements of subdivision (d) of Section 3078 of the Labor Code, shall be exempt from the requirements of any interdistrict attendance agreement for those classes.