It's also not legal for landlords to enter other people's homes at will simply because they own it.
(Paraphrased from CA Civ Code 1954)
A landlord may enter the dwelling unit only in the following cases:
- In case of emergency.
- To make necessary or agreed repairs, exhibit the property, or perform move in/out inspections.
- When the tenant has abandoned or surrendered the premises.
- Pursuant to court order.
It is what it is.