Debtors (Ireland) Act, 1840

Prisoners may be removed by habeas corpus for examination.

71. It shall be lawful for any sheriff, gaoler, or other officer having the custody of any prisoner, to take such prisoner for examination under the authority of this Act, by virtue of a writ of habeas corpus to be issued for that purpose; which writ shall and may be issued by any court or judge under such circumstances and in such manner as such court or judge may now by law issue the writ commonly called a writ of habeas corpus ad testificandum.

[Ss. 72–75 rep. 55 & 56 Vict. c. 19. (S.L.R.). S. 76 rep. 51 & 52 Vic c. 57. (S.L.R)]