Zigner
Senior Member, Non-Attorney
You were told wrong. The law is clear about what is allowed.I was told that it was because landlords need to check for safety hazards, and to make sure everything is in working order. I heard that almost all apartments have at least annual inspections of the premises, so I didn't really think much of it.
Edited to add: Many states do allow for some sort of inspection such as this, but California does not.