The only kinds of pleas which may be entered to an indictment are those specified in this section:
If the court is of the opinion based on specific factors set forth in the district attorney’s memorandum that the interests of justice would best be served by removal of the action to the family court, a plea of guilty of a crime or act for which the defendant is not criminally responsible may be entered pursuant to subdivision three or four of this section, except that a thirteen year old charged with the crime of murder in the second degree may only plead to a designated felony act, as defined in subdivision eight of section 301.2 of the family court act.
Upon accepting any such plea, the court must specify upon the record the portion or portions of the district attorney’s statement the court is relying upon as the basis of its opinion and that it believes the interests of justice would best be served by removal of the proceeding to the family court. Such plea shall then be deemed to be a juvenile delinquency fact determination and the court upon entry thereof must direct that the action be removed to the family court in accordance with the provisions of article seven hundred twenty-five of this chapter.
N.Y. Crim. Proc. Law ยง 220.10