Except where the court imposes additional punishment under Section 422.75 or in a case in which the person has been convicted of an offense subject to Section 1170.8, the fact that a person committed a felony or attempted to commit a felony that is a hate crime shall be considered a circumstance in aggravation of the crime in imposing a term under subdivision (b) of Section 1170.
Ca. Pen. Code § 422.76