If, in the case mentioned in section 532.210, it appear that the prisoner is legally imprisoned and not bailable, such court shall proceed no further therein; if he ought to be held to answer for a bailable offense, an order shall be made and proceeded on, as provided by this chapter in case where the prisoner is remanded for want of bail; and when it appears that the prisoner is entitled to his discharge, the court shall make an order to that effect.
§ 532.220, RSMo
Effective 1/2/1979