(1) Notwithstanding any other provision of law, a defendant subject to section two hundred fifty-nine-mm of this article, may be detained as authorized by the interstate compact for adult offender supervision. (2) A defendant shall be detained at a local correctional facility, except as otherwise provided in subdivision three of this section. (3) (a) A defendant sixteen years of age or younger, who allegedly commits a criminal act or violation of his or her supervision on or after October first, two thousand eighteen or (b) a defendant seventeen years of age or younger who allegedly commits a criminal act or violation of his or her supervision on or after October first, two thousand nineteen, shall be detained in a juvenile detention facility.
New York Legal Code