A court that grants or refuses bail to a defendant or releases a defendant under section 11A shall endorse or cause to be endorsed on the papers relating to the defendant and on the warrant of remand, committal or, as the case may be, commitment (if any) its decision as to bail or release and the court or the proper officer thereof shall certify—
(a) where bail is granted—(i) consent to the defendant’s release on bail; and(ii) the amount of money or other security (if any) to be deposited; and(iii) the amount of any surety or sureties to be required; and(iv) the special conditions (if any) applicable to the defendant’s release on bail; or
(b) where the defendant is released under section 11A —(i) consent to the defendant’s release without bail; and(ii) whether the defendant is released into the care of another person or permitted to go at large; and(iii) if the defendant is released into the care of another person, the person’s name; and(iv) the court into whose custody the defendant is required to surrender as a condition of release; and(v) the time and place the defendant is required to surrender into the court’s custody; or
(c) where bail is refused—(i) the refusal of bail; and(ii) the grounds for such refusal.