Functions 30 The inspection function 30 (1) The Chief Inspector is to secure the inspection of relevant educational establishments. (2) In carrying out that function, the Chief Inspector— (a) must secure the inspection of relevant educational establishments, other than excepted establishments, at such intervals and to such extent as the Chief Inspector considers appropriate (but in accordance with any regulations made under 35 subsection (4)), (b) must comply with any written request from the Scottish Ministers requiring the Chief Inspector to secure the inspection of— (i) a relevant educational establishment, 12 Education (Scotland) Bill Part 2—His Majesty’s Chief Inspector of Education in Scotland (ii) a type of relevant educational establishment, (iii) a sample of a type of relevant educational establishment, (c) may secure the inspection of an excepted establishment only on a request from the Scottish Ministers under paragraph (b). 5 (3) For the purpose of this section, the Chief Inspector is to secure the inspection of an establishment— (a) by directing an Inspector to carry out the inspection, (b) by directing a person appointed under section 29(1) to carry out the inspection, (c) by carrying out the inspection personally, 10 (d) through a combination of the ways described in paragraphs (a) to (c). 1 (4) The Scottish Ministers may by regulations specify the intervals at which establishments are to be inspected in accordance with subsection (2)(a). (5) Before making regulations under subsection (4), the Scottish Ministers must consult— (a) the Chief Inspector, 15 (b) the Advisory Council (see section 35), (c) such other persons as the Scottish Ministers consider appropriate. 31 Meaning of “relevant educational establishment” and “excepted establishment” (1) In this Act, “relevant educational establishment” means— (a) a school, 20 (b) a provider of school education under arrangements entered into by virtue of section 35 of the Standards in Scotland’s Schools etc.