3Subject as follows, the person who received the holding deposit must repay it if—
(a)the landlord and the tenant enter into a tenancy agreement relating to the housing,
(b)the landlord decides before the deadline for agreement not to enter into a tenancy agreement relating to the housing, or
(c)the landlord and the tenant fail to enter into a tenancy agreement relating to the housing before the deadline for agreement.