If a city or county orders a tenant out of an unpermitted rental, the issue is not just finding somewhere else to go. California law may create relocation, rent, habitability, and eviction-defense questions that should be reviewed before the tenant gives up possession.