The aircraft could end up landing at one of several Air Force bases along the way, where it definitely is illegal. But I cannot imagine the legal process whereby someone is actually charged for possession because their flight had an emergency landing still within the state of California. The court would have to be a military court, and I don't know the process by which a civilian would end up tried in a court that has jurisdiction over an AF base. The court matters because the DA and prosecutor decide who to charge.