IIRC, illegals are counted in the US census just like legal citizens. If they weren’t CA wouldn’t have nearly that number of electors.
Wonder why they said that they couldn't do it?