Dear Sir,
You have to consult a senior counsel in local area since it needs experienced arguments. As per order 14 Rule 2 CPc court may suo motto raise such issues but not at this fag end trial of the case. It cannot be thrown out at this stage. Ignorance of court itself is a hurdle for itself to pass such flimsy orders. The trial court has to answer all the issues including the issue pertaining to jurisdiction at this point of time that is when case is for final arguments.
====================================
ORDER XIV SETTLEMENT OF ISSUES AND DETERMINATION OF SUIT ON ISSUES OF LAW OR ON ISSUES AGREED UPON
Rule 1: Framing of issues
(1) Issues arise when a material proposition of fact or law is affirmed by the one party and denied by the other.
(2) Material propositions are those propositions of law or fact which a plaintiff must allege in order to show a right to sue or a defendant must allege in order to constitute his defence.
(3) Each material proposition affirmed by one party and denied by the other shall form the subject of a distinct issue.
(4) Issues are of two kinds:
(a) issues of fact,
(b) issues of law.
(5) At the first hearing of the suit the Court shall, after reading the plaint and the written statements, if any, and 1 [after examination under rule 2 of Order X and after hearing the parties or their pleaders], ascertain upon what material propositions of fact or of law the parties are at variance, and shall thereupon proceed to frame and record the issues on which the right decision of the case appears to depend.
(6) Nothing in this rule requires the Court to frame and record issues where the defendant at the first hearing of the suit makes no defence.
Rule 2: Court to pronounce judgment on all issues
(1) Notwithstanding that a case may be disposed of on a preliminary issue, the Court shall, subject to the provisions of sub-rule (2), pronounce judgment on all issues.
(2) Where issues both of law and of fact arise in the same suit, and the Court is of opinion that the case or any part thereof may be disposed of on an issue of law only, it may try that issue first if that issue relates to
(a) the jurisdiction of the Court, or
(b) a bar to the suit created by any law for the time being in force,
and for that purpose may, if it thinks fit, postpone the settlement of the other issues until after that issue has been determined, and may deal with the suit in accordance with the decision on that issue.