(a)Religious entities. A religious corporation, association, educational institution, or society is permitted to give preference in employment to individuals of a particular religion to perform work connected with the carrying on by that corporation, association, educational institution, or society of its activities. A religious entity may require that all applicants and employees conform to the religious tenets of such organization. However, a religious entity may not discriminate against a qualified