Singapore legislation

Section 78

of Penal Code 1871

Section 78

Act done pursuant to the judgment or order of a court of justice

Nothing which is done in pursuance of, or which is warranted by, the judgment or order of a court of justice, if done while the judgment or order remains in force, is an offence, notwithstanding the court may have had no jurisdiction to pass the judgment or order, provided the person doing the act in good faith believes that the court had such jurisdiction.