In this Act "the Relevant Authority" means the Regulator of Social Housing, the Secretary of State or Scottish Homes, subject as follows.
In relation to a housing association which is—
"the Relevant Authority" means the Secretary of State.
In relation to a housing association which is a registered society within the meaning of the Co-operative and Community Benefit Societies Act 2014 which has its registered office for the purposes of that Act in Scotland, "the Relevant Authority" means Scottish Homes.
In relation to any other housing association which is a registered charity, a registered society within the meaning of the Co-operative and Community Benefit Societies Act 2014 or a company registered under the Companies Act 2006, "the Relevant Authority" means the Regulator of Social Housing.
This section is subject to any provision made elsewhere in this Act.
In this section "registered charity" means a charity which is registered in accordance with section 30 of the Charities Act 2011 . . . .