S17 of the criminal code provides a defence from criminal responsibility, commonly known as double jeopardy. It is a defence to a charge of any offence if the accused person can show that where the person has previously been convicted or acquitted on indictment that:
There is an exception to this section under s678B and s678C. Under s678B the court may order a retrial for an acquitted person to be retried for the offence of murder if it is satisfied that there is both fresh and compelling evidence against the acquitted person and in all circumstances it is in the interest of justice for that order to be made. Under s678C the court may order an acquitted person to be retried for a 25 year offence if satisfied that the acquittal is a tainted acquittal and in all circumstances it is in the interests of justice.
In R v Viers  2 Qd R 1, the court ordered a permanent stay of proceedings where an attempt by the prosecution to charge a person on indictment with possession of cannabis in respect of which he had been previously summarily convicted constituted an example of double jeopardy.