1. This has been referred to a Full Bench because of certain important questions of law which arise in it. It appears that Sahu Shyam Lal instituted Suit No. 125 of 1923 in the Court of the Subordinate Judge of Moradabad for dissolution of his partnership with Kalyan Das and others. On 25th December 1923, the parties compromised their dispute and a written compromise was filed in Court. Under this compromise, apart from the liability to pay Rupees 1,000,, the defendant agreed that Rupees 1,500 were further due to the plaintiff from the defendant and he agreed to pay the amount in annual instalments of Rs. 150 each spread over a number of years. It was also provided that in a default of payment of any instalment, the whole of the amount would become due and would be payable with interest at 1 percent, per mensem, and it further provided that the property specifically mentioned in the compromise would remain (makful and marhun) hypothecated and mortgaged for the amount due to the plaintiff and that the defendant shall not transfer or encumber the same property and that in case of breach of any of the conditions the plaintiff would be entitled to realise the amount by sale of the aforesaid property by execution of this decree without bringing a fresh suit.
2. The Court passed a decree in terms of this compromise and incorporated the whole of the compromise into the decree. It may be noted that this compromise was neither registered nor was it attested as a mortgage-deed would be. Subsequently one Gopal Ram brought a money suit, No. 439 of 1926, against Kalyan Das and others and obtained a decree. After attaching the property mentioned in the previous decree he proceeded to execute his decree by sale of the same. Sahu Shyam Lal applied that his charge over the property should be declared at the time of the auction. This request was granted. The auction-sale in execution of Gopal Ram's decree took place with the announcement of the incumbrance and the property was purchased for Rs. 14 by Munshi Shyam Lal who is a different person from Sahu Shyam Lal. When Sahu Shyam Lal executed his decree in Suit 125 of 1923 by sale of this property Munshi Shyam. Lal, the auction-purchaser, objected, but his objection was disallowed and the property was again sold at auction in execution of Sahu Shyam Lal's decree and the property was purchased by Sahu Shyam Lal for Rs. 550.
3. The present suit was instituted by Munshi Shyam Lal principally against Sahu Shyam Lal for a declaration that the purchase made by him previously was good and that the property was vested in him and that the present purchase by Sahu Shyam Lal was invalid and not binding upon him. Both the Courts below have decreed the suit in favour of the plaintiff, holding that the compromise in Suit No. 125 of 1923 was in the nature of creating a mortgage on immovable property and not being registered was inadmissible in evidence and the Court acted without jurisdiction in so far as it created a mortgage on immovable property. It was held that all subsequent proceedings including the auction purchase by Sahu Shyam Lal were null and void. Sahu Shyam Lal has come up in appeal to this Court and challenges the finding of the Courts below. It is quite obvious that if the Court had no jurisdiction to incorporate any part of the compromise into the decree, the decree would be ultra vires and therefore void and a nullity and the auction-purchase would fall with it. On the other hand, if the Court had jurisdiction to entertain the compromise then even if it acted in an irregular manner or acted illegally or committed an error of law the decree when passed would be one passed with jurisdiction and binding on the parties unless set aside in appeal or by way of review of judgment.
4. It is possible to conceive of cases where a civil Court would not have jurisdiction to pass a decree even if it is based on a compromise between the parties. For instance, a Small Cause Court may not have jurisdiction to deal with the rights of immovable properties or a Revenue Court may not have jurisdiction to deal with immovable property or even a Munsif's Court may not have pecuniary jurisdiction to deal with properties of higher valuation or again a civil Court may not have jurisdiction to deal with matters which are Exclusively the jurisdiction of the Re-venue Courts. On the other hand, it appears to have been contemplated by the legislature that there may be matters which are irrevelant to the suit rand should be ignored by the Court and only such matters as relate to the suit be incorporated in the decree. Order 23, Rule 3, Civil P.C, provides that where it is proved to the satisfaction of the Court that a suit-has been adjusted wholly or in part ' by any lawful agreement or compromise or where the defendant satisfied 'the plaintiff in respect of the whole 'or any part of the subject-matter of the suit, the Court shall order such agreement, compromise or satisfaction to be recorded in the agreement and shall pass a decree in accordance therewith so far as it relates to the suit. These words appeared, in the old Section 375, but the section proceeded to add:
and such decree shall be final so far as relatas to so much of the subject-matter of the suit as is dealt with by the agreement, compromise or satisfaction.
5. It seems to us that the expression 'so far as it relates to the suit' is somewhat wider than the expression:
so far as relates to so much of the subject-matter of the suit as is dealt with by the compromise.
6. It is clearly possible to conceive of the matters which may not, strictly speaking, be the subject-matter of the suit itself as brought and yet they may relate to the suit. It therefore follows that so long as the compromise relates to the suit the Court has full authority under this rule to pass a decree in terms of it even though it might not have, strictly speaking, formed the subject-matter of the suit. Similarly there is nothing in Section 2, Civil P.C. which would prevent the Court from passing a decree in terms of the compromise which relates to the suit al- thought it may be called the subject-matter of the suit. All that it requires is that the Court may determine the right of the parties in regard to all or any matter in controversy in the suit, viz., matters that may be in controversy in the suit and matters that may be brought in by the parties. If the property has not been included in the suit it can be so included by a proper amendment of the plaint. The Court would therefore have proper jurisdiction to deal with it. The fact that the Court deals with it before going through the formality of amending the plaint would be an illegality or non-compliance with provisions of Schedule 2, and not necessarily a question of jurisdiction. Where the Court has jurisdiction to deal with the property having regard to its nature, character and valuation, the mere fact that it was not originally included in the plaint would not oust the jurisdiction of the Court when it was acting upon the agreement of the parties.
7. No doubt it is the duty of the Court to see that although the whole of the compromise between the parties is recorded, the operative portion of the decree is confined to that part only which relates to the suit. This point was emphasized by their Lordships of the Privy Council in Hemanta Kumari Debi v. Midnapur Zamindari Co. AIR 1919 PC 79. Following the observations made by their Lordships of the Privy Council on p.495, we think that a perfectly proper and effectual method of carrying out the terms of this section would be for the dceree to recite the whole of the agreement and then to conclude with an order embodying those matters which relate to the suit, or it could introduce the agreement in a schedule to the decree, but in either although the operative part of the decree would be properly confined to the actual subject-matter of the then existing litigation the decree taken whole would include the agreement.
8. It is incumbent on Courts to follow this direction and to see that the final order passed by the Court is correct. But it does not necessarily follow that if the Court does not strictly follow this direction, it is acting without jurisdiction.
9. In some cases it may be very easy to split up the compromise into two parts: the first which relates to the suit and the second which does not relate to the suit, and then it would be very easy for the Court to incorporate into the operative portion of the order the part which relates to the suit, and to exclude the other which does not relate to the suit. On the other hand, there can be a compromise which mixes up various matters in such a way as to make it impossible to separate the part which exclusively relates to the suit and another part which does not so relate to the suit. It will therefore be the duty of the Court to decide which relates to the suit and which does not relate to it. Such a question obviously is a question of law to be decided by the Court which is called upon to pass a decree on a persual of the compromise. The Court in deciding this matter may err, but the Court would have jurisdiction to decide a point of law wrongly. Except in cases where the Court had no jurisdiction to entertain the matter at all, a wrong decision would make the decree valid and binding on the parties. No doubt there has been some conflict of opinion on this point. It was held in the case of Mohibullah v. Imami (1887) 9 All 229, that a Court had jurisdiction to award to the plaintiff a larger amount than, was claimed if the amount is decreed on a compromise between the parties. In a later case in Raghubans Mani Singh v. Mahabir Singh (1905) 28 All 78, there was an observation at pp. 80-81 which was in the nature of an obiter dictum that the decree of a Court will be enforcible as a decree only so far as it relates to the subject-matter of the suit. The learned judge was not called upon to decide whether if the Court wrongly decided that a certain agreement related to the suit and passed a decree on it, the decree would be a nullity and would not be binding on the parties to it. The view winch has prevailed in Madras and also in Oudh seems to be to the effect that even though it incorporates some part of it which did not, strictly speaking, relate to the suit, it would nevertheless not be ultra vires. On the other hand, the earlier Calcutta and some cases of the Punjab Chief Court seem to lay down that a Court could not pass a decree in terms of the compromise which do not relate to the suit.
10. We think that even in cases where a part of the compromise does not, strictly speaking, relate to the suit and nevertheless the Court decides that it relates to the suit and incorporates it into the operative portion and passes a decree in terms of it, the decree is not a nullity and not one passed without jurisdiction, but would be binding upon the parties to the decree and its validity cannot be questioned in the execution department, nor can any title derived under it be attacked. In this view of the matter it is not necessary for us to consider the question whether the compromise did or did not attempt to create a mortgage. Prima facie, having regard to the language used and the intention that the property shall not be liable to be transferred or encumbered so as to prejudice the plaintiff it was in the nature of a mortgage. The mere fact that it was not registered or not properly attested would not make a document inadmissible, but we think it is not necessary to express any final opinion on the point in this case.
11. It has been contended before us that inasmuch as the Court has merely ordered that the decree should be passed in terms of the compromise it was not necessary be incorporate the whole of the compromise into the operative portion of the decree. No doubt the lower Court intended to incorporate the whole of the compromise into the operative part of the decree as was actually done when the decree was prepared. We might also add that even if our view had been different, we would not have readily accepted the contention that the direction that the money decree to be paid in instalments should be realized in case of default by sale of the property specified in the execution department would necessarily be a provision which would amount to an agreement not relating to the suit. We accordingly allow the appeal and setting aside the decree of the Court below dismiss the suit with costs throughout.