This is yet another reason to buy instead of rent if possible. Otherwise you're subject to mandatory government inspections inside your house whether you or your landlord consent to it or not. No matter what the intent, that kind of thing always grinds my gears. Very "Atlas Shrugged-ish".
The intent with this is good and noble. Minimum living standards should definitely exist. However, they are already set with the current landlord tenant law. Of course slum lords do and always will attempt to skirt their responsibilities. And, currently it's pretty much up to the tenant to report violations, and/or demand repairs. Still, this seems to me like "Big Brother" sticking his nose into others' business and throwing his weight around.