Penal Code Section 171
Wearing garb or carrying token used by public servant with fraudulent intent
171. Whoever, not belonging to a certain class of public servants, wears any garb or carries any token resembling any garb or token used by that class of public servants, with the intention that it may be believed, or with the knowledge that it is likely to be believed, that he belongs to that class of public servants, shall be punished with imprisonment for a term which may extend to three months or with fine which may extend to four hundred ringgit or with both.
Please refer to the Attorney General's Chamber of Malaysia's website for the latest law.