Notwithstanding Section 48201, pupils between 12 and 18 years of age who enter an attendance area from another state within 10 schooldays before the end of the school term during which such entrance occurs are exempt for the remainder of the school term.