Criminal Law (Insanity) Act 2006
| 
 Application to existing detentions.  |   
 20.— (1) This Act shall apply to a person detained under section 17 of the Lunacy (Ireland) Act 1821 , as if he or she were a person detained pursuant to an order under section 4 and, accordingly, such a person shall be entitled to the benefit of the provisions of this Act.  | |
(2) This Act shall apply to a person found guilty but insane and detained under section 2 of the Trial of Lunatics Act 1883, as if he or she were a person detained pursuant to an order of the court made under section 5 and, accordingly, such a person shall be entitled to the benefit of the provisions of this Act.  |