Malaysia legislation
Section 219
of PENAL CODE
Section 219
Whoever, being a public servant, corruptly or maliciously makes or pronounces in any stage of a judicial proceeding, any report, order, verdict or decision which he knows to be contrary to law, shall be punished with imprisonment for a term which may extend to seven years or with fine or with both.
Penal Code 137
Commitment for trial or confinement by a person having authority who knows that he is acting contrary to law