(1) Where an accused person who is entitled to be admitted to bail, or to whom the magistrate has power to grant bail, and who in his or her opinion, ought to be bailed, is committed to the correctional facility only because he or she does not, at the time of his or her committal for trial, procure sufficient sureties to take his or her bail, the magistrate shall certify on the back of the warrant of commitment or on a separate paper his or her consent to the accused being bailed, and shall state the amount of bail which ought to be required.