Queensland's Attorney-General will try to stop the court-ordered release of a notorious sex offender.
Robert Fardon, 64, has a long history of sex crimes against women and children and has spent almost half his life in jail.
In 2003 he was the first person to be detained indefinitely under the state's Dangerous Prisoners Act.
His lawyers successfully applied to the Supreme Court in Brisbane for a supervised release order.
The request was granted today, with strict conditions.
Justice Debra Mullins ordered Fardon be released from custody by 4pm (AEST) tomorrow.
He is due to be released under 34 strict conditions including that he be electronically monitored, adhere to a curfew, not take drugs or alcohol and have no direct or indirect contact with victims.
Child safety groups condemned the decision to release Fardon and late this afternoon Attorney-General Jarrod Bleijie intervened.
He has called for a stay of the court's decision and says an appeal will be lodged.
The Department of Corrective Services says Fardon will not be released until the matter is decided.