In Northern Salt Co. v. Electroytic Alkaki Co. (1914) A.C. 461, Viscount Haldane, L.C., stated this rule at page 469, thus: “My lords, it is no doubt true that where on the plaintiff’s case it appears to the court that the claim is illegal, and that it would be contrary to public policy to entertain it, the court may and ought to refuse to do so. But this must only be when either the agreement relied on is on the face of it illegal, or where, if facts relating to such an agreement are relied on, the plaintiff’s case has been completely presented. If the point has not been raised on the pleadings so as to warn the plaintiff to produce evidence which he may be able to bring forward rebutting any presumption of illegality which might be based on some isolated fact, then the court ought not to take a course which may easily lead to a miscarriage of justice. On the other hand, if the action really rests on a contract which on the face of it ought not to be enforced, then, as I have already said, the Court ought to dismiss the claim, irrespective of whether the pleadings of the defendant raise the question of illegality.”