The attendance of pupils residing in a unified district in high schools in an adjoining state pursuant to Section 44618 or Article 1 (commencing with Section 2000) of Chapter 7 of Part 2, shall be deemed for the purposes of this article to be in high schools established and maintained by the unified district.