Malaysia legislation
Section 6
Section 6
Nothing which is done in pursuance of, or which is warranted by the judgment or order of a Court, if done whilst such judgment or order remains in force, is an offence, notwithstanding the Court may have no jurisdiction to pass such judgment or order provided the person doing the act in good faith believes that the Court had such jurisdiction.
Act done justified by law or by mistake of fact believing himself justified by law.