Section 39(5) of the Local Government Act 2000 provides for the Secretary of State to make regulations specifying, for the purposes of certain enactments, that an elected mayor of a local authority is to be treated as a member or councillor of that authority.