Justice Richard Malanjum CJ of Sabah & Sarawak in PP v Kok Wah Kuan pronounced the function and role of constitution, courts and law (which many might have forgotten or choose to forget) so succintly that any additional words by me would be repugnant. I therefore quote in verbatim as my reminder :
".... At any rate I am unable to accede to the proposition that with the amendment of art. 121(1) of the Federal Constitution (the amendment) the Courts in Malaysia can only function in accordance with what have been assigned to them by federal laws. Accepting such proposition is contrary to the democratic system of government wherein the courts form the third branch of the government and they function to ensure that there is 'check and balance' in the system including the crucial duty to dispense justice according to law for those who come before them.
 The amendment which states that "the High Courts and inferior courts shall have such jurisdiction and powers as may be conferred by or under federal law" should by no means be read to mean that the doctrines of separation of powers and independence of the Judiciary are now no more the basic features of our Federal Constitution. I do not think that as a result of the amendment our courts have now become servile agents of a federal Act of Parliament and that the courts are now only to perform mechanically any command or bidding of a federal law.
 It must be remembered that the courts, especially the Superior Courts of this country, are a separate and independent pillar of the Federal Constitution and not mere agents of the federal legislature. In the performance of their function they perform a myriad of roles and interpret and enforce a myriad of laws. Article 121(1) is not, and cannot be, the whole and sole repository of the judicial role in this country for the following reasons:
(i) The amendment seeks to limit the jurisdiction and powers of the High Courts and inferior courts to whatever "may be conferred by or under federal law". The words "federal law" are defined in art. 160(2) as follows:
Federal law means:
(a) any existing law relating to a matter with respect to which Parliament has power to make laws, being a law continued in operation under Part XIII; and
(b) any Act of Parliament;
(ii) The courts cannot obviously be confined to "federal law". Their role is to be servants of the law as a whole. Law as a whole in this country is defined in art. 160(2) to include "written law, the common law in so far as it is in operation in the Federation or any part thereof, and any custom or usage having the force of law in the Federation or any part thereof". Further, "written law" is defined in art. 160(2) to include "this Constitution and the Constitution of any State". It is obvious, therefore, despite the amendment, the courts have to remain involved in the interpretation and enforcement of all laws that operate in this country, including the Federal Constitution, State Constitutions and any other source of law recognized by our legal system. The jurisdiction and powers of the courts cannot be confined to federal law.
(iii) Moreover, the Federal Constitution is superior to federal law. The amendment cannot be said to have taken away the powers of the courts to examine issues of constitutionality. In my view it is not legally possible in a country with a supreme Constitution and with provision for judicial review to prevent the courts from examining constitutional questions. Along with arts. 4(1), 162(6), 128(1) and 128(2), there is the judicial oath in the Sixth Schedule "to preserve, protect and defend (the) Constitution".
(iv) With respect I do not think the amendment should be read to destroy the courts' common law powers. In art. 160(2) the term "law" includes "common law". This means that, despite the amendment, the common law powers of the courts are intact. (See: Ngan Tuck Seng v. Ngan Yin Groundnut Factory Sdn Bhd  3 CLJ 26). The inherent powers are a separate and distinct source of jurisdiction. They are independent of any enabling statute passed by the legislature. On Malaysia Day when the High Courts came into existence by virtue of art. 121, "they came invested with a reserve fund of powers necessary to fulfill their function as Superior Courts of Malaysia". Similar sentiments were expressed in R Rama Chandran v. Industrial Court of Malaysia & Anor  1 CLJ 147.
(v) The amendment in my view cannot prevent the courts from interpreting the law creatively. It is now universally recognized that the role of a judge is not simply to discover what is already existing. The formal law is so full of ambiguities, gaps and conflicts that often a judge has to reach out beyond formal rules to seek a solution to the problem at hand. In a novel situation a judge has to reach out where the light of 'judicial precedent fades and flicker and extract from there some raw materials with which to fashion a signpost to guide the law'. When rules run out, as they often do, a judge has to rely on principles, doctrines and standards to assist in the decision. When the declared law leads to unjust result or raises issues of public policy or public interest, judges would try to find ways of adding moral colours or public policy so as to complete the picture and do what is just in the circumstances.
(vi) Statutes enacted in one age have to be applied in a time frame of problems of another age. A present time-frame interpretation to a past time framed statute invariably involves a judge having to consider the circumstances of the past to the present. He has to cause the statute to 'leapfrog' decades or centuries in order to apply it to the necessities of the times.
(vii) Further, in interpreting constitutional provisions, a judge cannot afford to be too literal. He is justified in giving effect to what is implicit in the basic law and to crystallize what is inherent. His task is creative and not passive. This is necessary to enable the constitutional provisions to be the guardian of people's rights and the source of their freedom. (See: Dewan Undangan Negeri Kelantan & Anor. v. Nordin bin Salleh & Anor  1 MLJ 697; Mamat bin Daud & Ors v Government of Malaysia & Anor  1 CLJ 11;  1 CLJ (Rep) 197).
(viii) Though there is much truth in the traditionalist assertion that the primary function of the courts is to faithfully interpret and apply laws framed by the elected legislatures, there are, nevertheless, a host of circumstances in which the role of a judge is not just to deliver what is already there. The role is constitutive and creative and goes far beyond a mechanical interpretation of pre-existing law. It extends to direct or indirect law making in the following ways:
1. Formulating original precedents
Life is larger than the law and there is no dearth of novel situations for which there is no enacted rule on point. In such situations a judge relies on the customs and traditions of the land and on standards, doctrines and principles of justice that are embedded in the life of the community to lay down an "original precedent" to assist the court. Admittedly, this fashioning of a new precedent is an infrequent occurrence but its impact on legal growth is considerable;
2. Overruling earlier precedents
Judicial creativity is fully in play when a previous precedent is overruled and thereby denied the authority of law. The overruling may be retrospective or prospective. In either case a new principle is contributed to the legal system and a new direction is forged;
3. Constitutional review
Under arts. 4(1) and 128 of the Federal Constitution, the Superior Courts of this country have the power to review the validity of legislative and executive actions by reference to norms of the basic law. If a legislative measure is found by the court to be unconstitutional, the court has a number of choices. It may condemn the entire statute as illegal or it may apply the doctrine of severability and invalidate only the sections that are unconstitutional and leave the rest of the statute intact. The court may declare the statute null and void ab-initio or only from the date of the ruling. For instance in Dato' Yap Peng v. PP  2 MLJ 31 the Supreme Court invalidated s. 418A of the Criminal Procedure Code prospectively.
Questions of constitutionality are fraught with political and policy considerations and decisions thereon can influence the course of legal and political development. For example in Faridah Begum v. Sultan Ahmad Shah  2 CLJ 159 the majority held that the 1993 constitutional amendment removing the immunities of the Sultans cannot apply to suits brought by foreigners.
Article 162(6) of the Federal Constitution allows judges to modify pre-Merdeka laws in order to make such laws conform to the Constitution. Modification is without doubt a legislative task.
4. Statutory interpretation
In interpreting pre-existing law a judge is not performing a mere robotic function. The interpretive task is, by its very nature, so creative that it is indistinguishable from law-making. "The prophecies of what the courts will do in fact, and nothing more pretentious, are what I mean by the law." (per the American jurist Oliver Wendell Holmes). This is specially so in constitutional law. Even if it is accepted that a judge is bound by the intention of the legislature, it must be noted that such an intention is not always clearly defined. The formal law is so full of ambiguities, gaps and conflicts that often a judge has to reach out beyond the statute to seek a solution to the problem at hand. (See: Chiu Wing Wa & Ors v. Ong Beng Cheng  1 CLJ 313). A judge may scrutinise preambles, headings and extraneous materials like explanatory statements that accompany Bills and parliamentary debates to help unravel the meaning of statutory formulae. A judge may lean on the interpretation clauses of a statute or on the Interpretation Act 1948/1967 to decipher the intention of the legislature. Or he may fall back on a wealth of rules of statutory construction to aid his task. So numerous and varied are these rules that judicial discretion to rely on one rule or another cannot be predicted. Sometimes a judge's attention is drawn to foreign legislation and related precedents. He may declare the overseas statute to be in pari materia with local legislation and, therefore, relevant to the case. Alternatively, he may pronounce the local law to be sui generis and therefore to be viewed in the local context without aid of foreign decisions.
When the enacted law leads to undesirable or unjust results, a judge may be persuaded to add moral or public policy shades to the issue in order to do justice.
One could also note, for instance, the "public interest" interpretation of art. 5(3) of the Federal Constitution in Ooi Ah Phua v. Officer-In-Charge Criminal Investigation, Kedah/Perlis  1 LNS 117 in which the court held that the constitutional right to legal representation can be postponed pending police investigation. In Teoh Eng Huat v. Kadhi Pasir Mas  2 CLJ 11;  1 CLJ (Rep) 277 the "wider interest of the nation" prevailed over a minor's right to religion guaranteed by art. 11. In Hajjah Halimatussaadiah v. Public Services Commission  1 CLJ 413;  2 CLJ (Rep) 467 the court subjected a public servant's claim of a religious right to wear purdah at the workplace to the need to maintain "discipline in the service".
A judge is not required to view a statute in isolation. He is free to view the entire spectrum of the law in its entirety; to read one statute in the light of related statutes and relevant precedents; to understand law in the background of a wealth of presumptions, principles, doctrines and standards that operate in a democratic society. (See: Kesultanan Pahang v. Sathask Realty Sdn. Bhd.  2 CLJ 559). He is justified in giving effect to what is implicit in the legal system and to crystallize what is inherent. Such a holistic approach to legal practice is justified because "law" in art. 160(2) is defined broadly to include written law, common law and custom and usage having the force of law.
5. Operation of doctrine of binding precedent
The doctrine of binding judicial precedent exists to promote the principle of justice that like cases should be decided alike. It also seeks to ensure certainty, stability and predictability in the judicial process. There can be no denying that the existence of this doctrine imposes some rigidity in the law and limits judicial choices. But one must not ignore the fact that some flexibility and maneuverability still exist.
Though a superior court is generally reluctant to disregard its own precedents, it does have the power "to refuse to follow" its earlier decisions or to cite them with disapproval. Our Federal Court has, on some occasions, overruled itself. High Court judges occasionally refuse to follow other High Court decisions. An inferior court can maneuver around a binding decision through a host of indirect techniques.
6. Application of doctrine of ultra vires
Whether an agency has acted ultra vires is a complex question of law that permits judicial creativity.
Some statutes declare that discretion is absolute or that a decision is final and conclusive. Some statutory powers are conferred in broad and subjective terms. To statutory formulae of this sort, contrasting judicial responses are possible. The court may interpret them literally and give judicial sanction to absolute powers.
Alternatively the court may read into the enabling law implied limits and constitutional presumptions of a rule of law society. This will restrict the scope of otherwise unlimited powers. (See: R v. Lord Chancellor, Ex p Witham  QB 575). Subjective powers may be viewed objectively. Purposive interpretation may be preferred over literal interpretation. (See: Public Prosecutor v. Sihabduin bin Haji Salleh & Anor  CLJ 39;  CLJ (Rep) 82).
When procedural violations are alleged, a decisive but discretionary issue is whether the procedure was mandatory or directory. Violation of a mandatory procedure results in nullity. Violation of a directory requirement is curable.
7. Import of rules of natural justice
Rules of natural justice are non-statutory standards of procedural fairness. They are not nicely cut up and dried and vary from situation to situation. Judges have wide discretion in determining when they apply and to what extent.
 Hence, it is reasonable to emphasize that the amendment should not be construed or viewed as having emasculated the courts in this country to mere automaton and servile agents of a federal Act of Parliament...."