California State requires the landlord to provide safe and habitable premises for the tenants. If that is not guaranteed or the landlord overcharges rent for buildings not zoned for residential use, then the tenant can refuse to pay rent and not get evicted until the matter is resolved.