Trouble brews when family, friends secretly move in

How can landlord prove 'visitors' are really illegal occupants?