Where an authority mentioned in section 80(1) (public sector authorities capable of granting secure tenancies) acquire an interest in a defective dwelling in pursuance of Schedule 20 (repurchase) and—
the authority shall grant him a secure tenancy or, where the dwelling-house is in Wales, a secure contract (of that dwelling-house or another: see section 556) on the completion of their acquisition of the interest concerned.
Where two or more persons qualify for the grant of a tenancy under this section in respect of the same dwelling-house, the authority shall grant the tenancy to such one or more of them as they may agree among themselves or (if there is no such agreement) to all of them.
If at any time after the service of a notice of determination it appears to the purchasing authority that a person may be entitled to request them to grant him a secure tenancy or secure contract under this section, they shall forthwith give him notice in writing of that fact.
This section has effect notwithstanding any provision to the contrary in section 11 of the Renting Homes (Wales) Act 2016 (anaw 1).