There is an implied warranty in a residential tenancy agreement on the part of the owner of the premises to which the agreement relates that at the time of entering the agreement there was no legal impediment of which the owner knew or ought to have known in respect of the occupation of the premises for the period of the tenancy.