N.Y. Comp. Codes R. & Regs. tit. 9, § 7210.5
(a) The commission shall issue a substitute jail order authorizing the confinement of some or all of the inmates of a facility in another suitable place or facility, or upon the consent of the commissioner, an institution, under any of the following circumstances: