In NJ a state supreme court ruling created something called the Mount Laurel doctrine, which according to Wikipedia: requires that municipalities use their zoning powers in an affirmative manner to provide a realistic opportunity for the production of housing affordable to low and moderate income households.
How hard would this be in CA?
https://en.wikipedia.org/wiki/Mount_Laurel_doctrine