An educational authority that operates, or proposes to operate, an educational institution wholly or mainly for students of a particular sex or religion, or who have a general or specific impairment may exclude—
(a) applicants who are not of the particular sex or religion; or
(b) applicants who do not have a general, or the specific, impairment.