The scenario might well be that all the illegal and legal Mexican immigrants to California aren't fools, and they will not want to again live under the corrupt Mexican government and the failed Mexican economy.
Even though current trends will diminish California more and more, it will still be preferable to Mexico for many decades to come.
If california was part of Mexico, Mexicans would be sneaking into Oregon.