In such case, such superior court judge may vacate the order of such local criminal court and release the defendant on recognizance or under non-monetary conditions, or where authorized, fix bail in a lesser amount or in a less burdensome form, whichever are the least restrictive alternative and conditions that will reasonably assure the defendant’s return to court. The court shall explain its choice of alternative and conditions on the record or in writing.
N.Y. Crim. Proc. Law ยง 530.30