24 (1) The right under section 5 to equal treatment with respect to employment is not infringed where, (a)  a religious, philanthropic, educational, fraternal or social institution or organization that is primarily engaged in serving the interests of persons identified by their race, ancestry, place of origin, colour, ethnic origin, creed, sex, age, marital status or disability employs only, or gives preference in employment to, persons similarly identified if the qualification is a reasonable and bona fide
qualification because of the nature of the employment; (b)  the discrimination in employment is for reasons of age, sex, record of offences or marital status if the age, sex, record of offences or marital status of the applicant is a reasonable and bona fide qualification because of the nature of the employment; (c)  an individual person refuses to employ another for reasons of any prohibited ground of discrimination in section 5, where the primary duty of the employment is attending to the medical or personal needs of the person or of an ill child or an aged, infirm or ill spouse or other relative of the person; (d)  an employer grants or withholds employment or advancement in employment to a person who is the spouse, child or parent of the employer or an employee; (e)  a judge is required to retire or cease to continue in office on reaching a specified age under the Courts of Justice Act; (f)  an associate judge is required to retire on reaching a specified age under the Courts of Justice Act; (g)  the term of reappointment of an associate judge expires on the associate judge reaching a specified age under the Courts of Justice Act; or (h)  a justice of the peace is required to retire on reaching a specified age under the Justices of the Peace Act.  R.S.O. 1990, c. H.19, s. 24 (1); 1999, c. 6, s. 28 (11); 2001, c. 32, s. 27 (5); 2005, c. 5, s. 32 (14); 2005, c. 29, s. 1 (2); 2016, c. 23, s. 54; 2020, c. 11, Sched. 5, s. 16 (1); 2021, c. 4, Sched. 11, s. 16; 2021, c. 4, Sched. 3, s. 23 (1, 2). Reasonable accommodation (2) No tribunal or court shall find that a qualification under clause (1) (b) is reasonable and bona fide unless it is satisfied that the circumstances of the person cannot be accommodated without undue hardship on the person responsible for accommodating those circumstances considering the cost, outside sources of funding, if any, and health and safety requirements, if any.  R.S.O. 1990, c. H.19, s. 24 (2); 1994, c. 27, s. 65 (4); 2002, c. 18, Sched. C, s. 4 (1); 2006, c. 30, s. 3 (1). Determining if undue hardship (3) In determining for the purposes of subsection (2) whether there would be undue hardship, a tribunal or court shall consider any standards prescribed by the regulations.  2006, c. 30, s. 3 (2). Same (4) Clauses 24 (1) (e), (f), (g) and (h) shall not be interpreted to suggest that a judge, associate judge or justice of the peace is an employee for the purposes of this Act or any other Act or law.  2005, c. 29, s. 1 (3); 2020, c. 11, Sched. 5, s. 16 (2); 2021, c. 4, Sched. 3, s. 23 (3). Section Amendments with date in force (d/m/y) 1994, c. 27, s. 65 (4) - 17/04/1995; 1999, c. 6, s. 28 (11) - 01/03/2000 2001, c. 32, s. 27 (5) - 07/02/2002 2002, c. 18, Sched. C, s. 4 (1, 2) - 26/11/2002 2005, c. 5, s. 32 (14) - 09/03/2005; 2005, c. 29, s. 1 (2, 3) - 12/12/2006 2006, c. 30, s. 3 (1, 2) - 30/06/2008 2016, c. 23, s. 54 - 05/12/2016 2020, c. 11, Sched. 5, s. 16 (1, 2) - 08/01/2021 2021, c. 4, Sched. 3, s. 23 (1-3) - 01/09/2021; 2021, c. 4, Sched. 11, s. 16 - 19/04/2021 24.1 Repealed: 1995, c. 4, s. 3 (2). Section Amendments with date in force (d/m/y) 1993, c. 35, s. 56 - 01/09/1994; 1994, c. 27, s. 65 (5) - 17/04/1995; 1995, c. 4, s. 3 (2) - 14/12/1995