27.—(1) When any person appears before a court in proceedings for contempt of court, the person may be released on bail by that court.
(2) Instead of taking bail from the person, the court may release the person if he or she signs a personal bond without sureties.
(3) The provisions under Division 5 of Part 6 of the Criminal Procedure Code 2010 apply to any case where the court releases the person charged with a contempt of court on bail or on his or her own bond under this section and for the purposes of those provisions, the contempt of court is treated as a non‑bailable offence.
(4) A court may grant bail to a person who has filed an appeal against any order or decision in accordance with section 32.