7. Educational establishments.
(1) In this section "educational establishment" means a preschool service within the meaning of Part VII of the Child Care Act, 1991, a primary or post-primary school, an institution providing adult, continuing or further education, or a university or any other third-level or higher-level institution, whether or not supported by public funds.
(2) An educational establishment shall not discriminate in relation to-
(a) the admission or the terms or conditions of admission of a person as a student to the establishment,
(b) the access of a student to any course, facility or benefit provided by the establishment,
(c) any other term or condition of participation in the establishment by a student, or
(d) the expulsion of a student from the establishment or any other sanction against the student.
(3) An educational establishment does not discriminate under subsection (2) by reason only that-
(a) where the establishment is not a third-level institution and admits students of one gender only, it refuses to admit as a student a person who is not of that gender,