Whenever any school district or community college district has been or is hereafter intersected by any county boundary line in the formation of any new county, or in changing the boundary of any county, and portions of the district then lie in different counties, the district shall, by operation of law, constitute and become established as a joint school district, at the time of the intersection, unless otherwise provided.
Ca. Educ. Code § 2602