Malaysia legislation
Section 48
of *SYARIAH CRIMINAL OFFENCES (FEDERAL TERRITORIES) ACT 1997
Section 48
Nothing is an offence which is done by a Judge when actingjudicially in the exercise of any power which is, or which in goodfaith he believes to be, given to him by law.