Rangnekar, J.:— This appeal arises out of a suit brought by the plaintiff for setting aside a sale, dated 22nd April 1925, executed by his grandmother in favour of the defendant and for possession of such part of the property as may be found in her possession. The defendant is the sister of the plaintiff's father, and she defended the suit on the ground that the property, the subject matter of the sale deed, belonged to her mother who had sold it to her. According to the plaintiff the property was purchased by his father benami in the name of his mother, i.e, the plaintiff's grandmother, in 1901, as be was a Government servant. It appears that the plaintiff's father was a police con stable, and whilst in service he purchased this property benami in the name of his mother. This was denied by the defendant, who contended that the property belonged to the mother and was purchased by her with her own moneys. The trial Court found that the property was purchased by the plaintiff's father benami in the name of the mother, and this finding was accepted by the learned appellate Judge. In appeal however the defendant raised a contention that the transaction of the purchase by the plaintiff's father and the contract on which it was founded were void by reason of the provisions of Section 33 of the Bombay District Police Act 4 of 1890. This contention was negatived by the appellate Court, relying on Bhagwan Dei v. Murari Lal (1). It may be pointed out however that in the Allahabad case the transaction was prohibited by one of the Government Servants' Conduct Rules, and not, as here, by statute. The distinction between the two classes of cases is obvious and is pointed out in many decisions. I need refer to a decision of Sir Basil Scott in Ramkrishna Trimbak v. Narayan (2), and also to the remarks of the Allahabad High Court itself in the same volume at pp 60 and 61. The question therefore is whether the lower Court's decision is right. Section 33 of the Bombay District Police Act, before it was repealed by Bombay Act 21 of 1930, ran as follows:
33. (1) No police officer shall engage in trade or be in any way concerned either as principal of agent, in the purchase or sale of land within the district wherein he is employed or in any commercial transaction whatever, without the permission of the Magistrate of the district or of Government.
2. The law on the subject is somewhat complex, but we think the principle is well put by Parke, B., in Cope v. Rowlands (3), a case which is often followed and referred to with approval by eminent Judges in England, in these words at p. 157:
It is perfectly settled, that where the contract which the plaintiff seeks to enforce, be it express or implied, is expressly or by implication forbidden by the common or Statute law, no Court will lend its assistance to give it effect. It is equally dear that a contract is void if prohibited by a statute, though the Statute inflicts a penalty only, because such a penalty implies a prohibition: Lord Holt, Bartlett v. Vinor (4). And it may be safely laid down, notwithstanding some dicta apparently to the contrary, that if the contract be rendered illegal. It can make no difference, in point of law, whether the statute which makes it so has in view the protection of the revenue on any other object. The sole question is whether the Statute means to prohibit the contract.
3. In Langton v. Hughes (5), Lord Ellen-borough, C.J, said (p. 596):
… it may be taken as a received rule of law that what is done in contravention of the provisions of an Act of Parliament cannot be made the subject matter of an action.
4. Dealing with the same point in Anderson Ltd. v. Daniel (6) Bankes, L.J, quotes with approval a passage of Buckley, J. in Victorian Daylesford Syndicate Ltd. v. Dott (7) which runs as follows (p. 629):
The next question is whether the Act is so expressed that the contract is prohibited so as to be rendered illegal. There is no question that a contract which is prohibited, whether expressly or by Implication, by a statute is illegal and cannot be enforced. I have to see whether the contract is in this case prohibited expressly or by implication. For this purpose Statutes may be grouped under two heads: those, in which a penalty is imposed against doing an act for the purposes only of the protection of the revenue, and those in which a penalty is imposed upon an act not merely for revenue purposes, but also for the protection of the public. That distinction will be found commented upon in numerous cases, including those which have been cited Cope v. Rowlands , and Fergusson v. Norman (8).
5. I have referred to S. 33 of the Act, 1 will now refer to Section 23 of the Contract Act. Reading these two sections together, in my opinion, the contract under which the plaintiff's father obtained the property was void as it was prohibited by the Bombay District Police Act. But it is argued that the prohibition in Section 33 of the Bombay District Police Act, was not absolute, but only conditional, inasmuch as it was competent to a police officer to purchase property subject to a condition that he obtained the permission of the District Magistrate or the Government, and that therefore the prohibition has qualified. It was further stated that the section occurs in a chapter dealing with the discipline of the force and that no penalty was imposed by the statute for the breach of the rule contained in the section. As I have pointed out, the object of the legislature in enacting a rule is irrelevant in such cases, and therefore the fact that the rule in this section was enacted in the interests of discipline, or, as I am inclined to think, in the interest of public service and public good, does not matter. I do not however agree that no penalty was enforced by the Statute. In my opinion S. 36(2)(c) dearly imposes a penalty on the police officer guilty of any willful breach or neglect of any provision of the law. Apart from that it is clear on the authorities that if the act be prohibited without any express penalty, it cannot be the subject of a valid contract. In Anderson, Ltd. v. Daniel , referred to above, which was a case under the Fertilizers and Feeding Stuffs Act, 1906, (6 Edw. 7, c. 27), and which provided every person selling for use as a fertilizer of the soil any article which had been subjected to any artificial process in the United Kingdom or which had been imported from abroad to give to the purchaser an invoice stating what were the respective percentages of certain chemical substances contained in that article and in default certain penalty was prescribed; it was held that as the object of the Statute in requiring the vendor to give the statutory invoice and imposing, on him a penalty in the event of his default was to protect the purchasers of fertilisers, the effect of non-compliance with the requirement was not merely to render the vendor liable to penalty, but also to make the sale illegal and preclude him from suing for the price.
6. In many statutes relating to professions or trade, restrictions and regulations affecting the contracts are impose as to the qualification as to the conduct in business and the validity of contracts, etc. and the law is that if the qualification is not observed or the condition fulfilled, the contract would be illegal. Take for instance Section 20 of the Companies Act, which requires more than 20 persons-forming a company to get it registered, and if a company or a partnership entered into in breach of the conditions laid down in that section, it has been held, and there can be no doubt, that the partnership or the company would be illegal. The case of Anderson, Ltd. v. Daniel lays down the same principle by the Section 32 of the Medical Act, 1858:
No person shall be entitled to recover an charge in any Court of law foe any medical or surgical advice, attendance, … etc., unless he shall prove … that he is registered under this Act.
7. And it has been held that if this condition is not satisfied, he is not entitled to recover any charge: see Leman v. Houseley (9). There are many instances of the application of this principle under the English Money-lenders Act, which prescribes certain conditions on a person doing the money lending business, the principal among them being that he must register himself as a money-lender in accordance with the regulations of the Act. Thus, in Whiteman v. Sadler (10), Lord Macnaghten observed (p. 521):
“If in violation of the plain words of the Act a moneylender trades without being registered at all, or being registered trades in another name, he is very properly left to the mercy of anyone, who chooses to attack him, and his contracts are rightly avoided.
8. It is not necessary to multiply instances which will be found in the English reported decisions. The effect of illegality in the matter or purpose of an agreement is to render it wholly void of legal effect, and no claim or defence can be maintained which requires to be sup ported by allegations or proof of illegal agreement. As Mansfield, C.J, put it in Holman v. Johnson (11) the principle is as follows (p. 343):
The objection, that a contract is immoral or illegal as between plaintiff and defendant sounds at all times very ill in the mouth of the defendant. It is not for his Bake however that the objection is ever allowed; but it is founded in general principles of policy, which the defendant has the advantage of, contrary to the real justice, as between him and the plaintiff …. If, from the plaintiff's own stating or otherwise, the cause of action appears to arise ex turpicausa, or the transgression of a positive law of this country, there the Court says he has no right to be assisted.
9. If then the contract was void the plaintiff's father got no title. If so, it is difficult to see bow the plaintiff who claims through him can establish any title to the property acquired by his father under these circumstances. It is clear that if the plaintiff's father had to bring a suit to recover possession of the property against the vendor, or the vendor had to bring a suit to recover the price of the property against the plaintiff's father, neither party would have been allowed to set up the contract, and the Court would have refused its aid to them.
10. In my opinion, the plaintiff is in no better position than his father. It is argued by Mr. Walavalkar that the section having been repealed in 1930 when this litigation had been pending and had not been con eluded his client is not affected by the prohibition contained in Section 33 of the Bombay District Police Act. The answer to that is that the section was in force when the transaction was effected and any subsequent repeal of the section would not affect the merits, rights or liabilities of the parties as on the date of the transaction. I may refer in this connexion to Section 6(c) of the General Clauses Act, 1897, which runs as follows:
(6) Where this Act, or any Act of the Governor-General in Council or Regulation made after the commencement of this Act, repeals any enactment hitherto made or hereafter to be made, then, unless a different intention appears, the repeal shall not ………………
(c) affect any right, privilege, obligation or liability acquired, accrued or incurred under any enactment so repealed; or
11. Mr. Walavalkar has referred to some old English decisions in support of his contention, but I do not think they are applicable. Even in England the principle as to a subsequent repeal of a. Statute is the same as is laid down in our General Clauses Act. Thus the, Section 38(2) of the interpretation Act, 1889, 52 & 53 Vic. c. 63, says:
Where this Act or any Act passed after the commencement of this Act repeals any other enactment, then, unless the contrary intention, appears, the repeal shall not
(b) affect the previous operation of any enactment so repealed or anything duly done or suffered under any enactment so repealed;
(c) affect any right, privilege, obligation, or liability acquired, accrued, or incurred under any enactment so repealed:
There is another way of looking at the case. This was a benami transaction. Where a person buys a property with his own money but in the name of an other person without any intention to benefit such other person, the transaction is called benami, and the person in whose name the transaction is effected is called benamidar. On the facts found in this case the transaction was benami, and the plaintiff's grandmother was benamidar. The law is that where a transaction is once made out to be benami, effect would be given to the real and not to the nominal title, unless the result of doing so would be to violate the provision of a Statute. This follows from the provisions of Sections 80, 81 and Section 4 of the Trusts Act, and on the facts, to give effect to the transaction, and to hold that the plaintiff's title was established, would result in defeating the provisions of Section 33 of the Bombay District Police Act, read with Section 23 of the Contract Act. The result is that the appeal must be allowed and the decree reversed; but considering the circumstances of this case, and in particular the fact that this contention was not raised in the original Court, but was raised for the first time in appeal, we think each party should bear his own costs throughout.
K.S
12. Appeal allowed.