In a county in which the district attorney has established a community conflict resolution program, the superior court may, with the consent of the district attorney and the defendant, refer misdemeanor cases, including those brought by a city prosecutor, to that program. In determining whether to refer a case to the community conflict resolution program, the court shall consider, but is not limited to considering, all of the following:
The court shall not refer any case to the community conflict resolution program which was previously referred to that program by the district attorney.
Ca. Pen. Code § 14154