Ruling repairs landlord's rights