Landlord told to stop renting out property as a shared house