It's an inherent right, otherwise CA wouldn't have to pass laws to override it (which is an overreach IMO).
No one is entitled to affordable housing in any specific location.