When a defendant in a criminal case has been committed to the custody of the commissioner of the department or another facility as provided by Section 15-16-43, such department or facility may not release such defendant from custody unless authorized to do so by court order as provided in this article.