Providing free education is going to be a major draw to coming illegally to California. Parents are more likely to risk it if they think their children will benefit.

Illegal should mean just that. Economic migrants should be able to get passes to work, but those without should be rapidly deported.

There could be scholarships for overseas students to apply for which come with a student visa for the duration, but that is very different.

To create a system where evading the laws is beneficial creates severe moral hazard.