The Queensland parliament has passed new laws that give the attorney-general powers that used to rest with the courts.
Attorney-General Jarrod Bleijie has faced a wave of anger over laws that hand him the power to keep sex offenders in jail indefinitely.
Academics, civil libertarians and the Labor opposition have accused him of breaching the separation of powers and say the move is dangerous for democracy in the state.
The laws passed parliament early on Friday, alongside others that mean fewer workers will be able to sue their employers for injuries suffered on the job.
Opposition Leader Annastacia Palaszczuk told parliament the sex offender laws were a publicity stunt.
She said the state's top lawyers had warned they would not withstand a High Court challenge and the government itself knew that.
"I have never before seen a bill drafted in the full knowledge that it could be declared unconstitutional," she said.
"The normal practice is to draft a bill that is likely to be valid ..."
She said the laws were dangerous because they undermine the checks and balances built into the legal system.
"If one party thinks a judge gets it wrong, there are others who are charged with responsibility for reviewing those decisions. That should not be the Attorney-General or any other member of the executive," she said.
Police Minister Jack Dempsey said the Newman government was finally meeting community expectations about what should happen to the worst sex offenders.
Mr Bleijie told parliament there would be no apologies for the stance the government had taken.
"I hope I never have to use this legislation ... because if we do, it means that an innocent child is likely to have been sexually abused by one of these predators in our community," he said.
"I will always stick up for the rights of children in this state."
Parliament also passed changes to Queensland's workers' compensation system, which the government has said is necessary to shield employers from outlandish claims and skyrocketing premiums.
The changes mean workers who suffer an impairment of five per cent or less will no longer be able to sue their employers for damages. Penalties for fraudulent claims have also been increased.
Independent MP Liz Cunningham, whose father suffered a workplace accident when she was a child, became emotional when she spoke against the new injury threshold.
"It will disadvantage families at a time when they are most vulnerable because of injuries and most vulnerable to family disconnect and most vulnerable to financial hardship," she said."I think that it is unnecessary and reprehensible and I will not be supporting it."