No medical school or clinical training program shall deny access to elective clerkships or preceptorships in any medical school or clinical training program in this state solely on the basis that a student is enrolled in an osteopathic medical school.
Any violation of this section or Section 2064.1 may be enjoined in an action brought in the name of the people of the State of California by the district attorney of the county in which the violation occurs, upon receipt of a complaint by an aggrieved student.