Section 12 of the Administration of Justice Law

Law No. 44 of 1973, text as enacted in 1973

12. (1) The Supreme Court may grant and issue, according to law, mandates in the nature of writs of mandamus, quo warranto, certiorari, procedendo and prohibition: Provided that no such mandate may be granted and issued against a Criminal Justice Commission established under the Criminal Justice Commissions Act. (2) The Supreme Court may grant and issue mandates in the nature of writs of habeas corpus to bring up before such court- (a) the body of any person to be dealt with according to law; or (b) the body of any person illegally or improperly detained in public or private custody; and to discharge or remand any person so brought up or otherwise deal with such person according to law: Provided that it shall be lawful for the Supreme Court to require the body of such person to be brought op in the most convenient subordinate court and to direct the Judge of such court to forthwith inquire into and report upon the cause of the alleged imprisonment or detention, and to make such provision for the interim custody of the body produced as to such Court may seem fit. (3) The Supreme Court may direct- (a) that a prisoner detained in any prison be brought before a court-martial or any Commissioners acting under the authority of any Commission from the President of the Republic of Sri Lanka for trial or to be examined relating to any matter pending before such court-martial or Commissioners respectively; or *Supreme Court may issue man dales in the nature of write.* (b) that a prisoner detained in prison be removed from one custody to another for the purposes of trial.