Upon or after arraignment in a local criminal court upon a felony complaint, or upon or after arraignment in a superior court upon an indictment or superior court information, and before final disposition thereof, the court, with the consent of the people and of the defendant, and with reasonable notice to the victim and an opportunity for the victim to be heard, may order that the action be adjourned in contemplation of dismissal, for the purpose of referring the action to a community dispute center established pursuant to article twenty-one-A of the judiciary law. Provided, however, that the court may not order any action adjourned in contemplation of dismissal if the defendant is charged therein with:
N.Y. Crim. Proc. Law § 215.10