A child sex offender with dementia has been released to a retirement home because of a gap in the law.
A High Court judge was convinced the 63-year-old committed sex crimes against two young women for nearly 10 years, but had no choice other than to release him - and was powerless to impose any supervision.
This was because Mr I, who cannot be identified, was too sick to stand trial but could not be treated at a secure hospital facility because he was not considered at a "high risk" of re-offending by a psychiatrist.
To try and eliminate the potential risk to the public, Justice Simon Moore oversaw a novel legal approach where a senior doctor from the Auckland District Health Board was appointed as the "welfare guardian" of Mr I.
Under the separate Family Court orders, Mr I now must live at the Auckland rest home - where staff are aware of his history - and is watched by staff if young children visit him.
But the inability of judges to impose conditions in cases like Mr I was a "legislative lacuna" - or gap - which could easily be fixed, said Justice Moore.
"I consider this to be a serious shortcoming in the statutory regime because it prevents the Court from imposing any form of supervisory oversight despite the fact that the criminal charges remain live.
"This lacuna is a matter which should be addressed by Parliament as a matter of urgency," wrote Justice Moore, who directed a copy of the judgment be sent to the Ministry of Justice.
A spokesman said a procedural review of the Criminal Procedure (Mentally Impaired Persons) Act is on the Ministry of Justice's work programme.