Where an authority acquire an interest in a defective dwelling in pursuance of Schedule 20 (repurchase), or in the circumstances described in section 549(3) (exercise of right of pre-emption &c.), and—
the authority shall, in accordance with this section, either grant or arrange for him to be granted a tenancy (of that dwelling-house or another: see section 556) on the completion of their acquisition of the interest concerned.
If the authority are among those mentioned in section 80(1) (public sector authorities capable of granting secure tenancies) their obligation is to grant a secure tenancy or secure contract.
If the authority is the new towns residuary body or a private registered provider of social housing or registered social landlord, other than a housing co-operative, within the meaning of section 27B, their obligation is to grant a secure tenancy or, where the dwelling-house is in Wales, a secure contract if the individual to whom a tenancy is to be granted—
In any other case their obligation is to grant or arrange for the grant of either—
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, or arrange for it to be granted, to such one or more of them as they may agree among themselves or (if there is no such agreement) to all of them.