Malaysia legislation
Section 49
of *SYARIAH CRIMINAL OFFENCES (FEDERAL TERRITORIES) ACT 1997
Section 49
Act done pursuant to the judgment or order of a Court
Nothing is an offence which is done in pursuance of, orwhich is warranted by the judgment or order of, a Court if donewhilst such judgment or order remains in force, notwithstandingthat the Court may have no jurisdiction to pass such judgment ororder, if the person doing the act in good faith believes that theCourt had such jurisdiction.