In the case of any person who is released from prison on parole or after serving a term of imprisonment for any felony offense committed against the person or property of another individual, private institution, or public agency because of the victim's actual or perceived race, color, ethnicity, religion, nationality, country of origin, ancestry, disability, gender, gender identity, gender expression, or sexual orientation, including, but not limited to, offenses defined in Section 422.6, 422.7, 422.75, 594.3, or 11411, the Board of Parole Hearings or the supervising parole agency, absent compelling circumstances, shall order the defendant as a condition of parole to refrain from further acts of violence, threats, stalking, or harassment of the victim, or known immediate family or domestic partner of the victim, including stay-away conditions when appropriate. In these cases, the parole authority may also order that the defendant be required as a condition of parole to complete a class or program on racial or ethnic sensitivity, or other similar training in the area of civil rights, or a one-year counseling program intended to reduce the tendency toward violent and antisocial behavior if that class, program, or training is available and was developed or authorized by the court or local agencies in cooperation with organizations serving the affected community.
Ca. Pen. Code § 3053.4