; (2) in paragraph (8), by striking the period at the end and inserting ; and ; and (3) by adding at the end the following: (9) if such agency or association has or seeks to include within its scope of recognition the evaluation of the quality of institutions or programs offering graduate medical education, such agency or association shall, in addition to meeting the other requirements of this subpart, demonstrate to the Secretary that the agency or association does not require an institution or program to adopt any policies or other requirements in contravention of section 124 as a condition of receiving accreditation from the agency or association. . 3. Rules of construction Nothing in this Act or the amendments made by this Act shall be construed— (1) to prohibit a graduate medical school at an institution of higher education from— (A) providing instruction about unique medical needs or conditions that may be related to an individual’s sex, race, or other characteristics; or (B) collecting and maintaining demographic data on students solely for informational purposes; (2) in the case of an institution with a religious mission, to require or incentivize the institution to take any action that is contrary to the tenets of such religion; or (3) to restrict or prohibit— (A) the exercise of First Amendment rights by anyone lawfully present on the grounds of an institution of higher education (as defined in section 102 of the Higher Education Act of 1965 ( 20 U.S.C. 1002 )); (B) academic instruction at such an institution, except to the extent required under paragraphs (2)(C) and (3) of section 124(a) of the Higher Education Act of 1965 (as added by section 2); (C) research operations at such an institution; (D) the operations of student organizations at such an institution; (E) the invitation of lecturers and other guest speakers to such an institution