My mrs had to get a letter from the local priest stating she was of good character, giving the consent of the Catholic church for her to work at a Catholic school.
Exempt from the Equality Act. Outside of education, it's completely illegal for an employer to ask her of which faith she is.
Read the Education (Scotland) act and then tell me there's no segregation in schools.