Facts
Parties and proceedings: [B. AG] (plaintiff, tenant in the proceedings) and [A. AG] (defendant, landlord) dispute the determination of rent for the extension of a tenancy relating to retail premises in [V.] ([U.] street). The parties each filed an appeal in civil matters with the Federal Supreme Court against the judgment of the Higher Court of the Canton of Zurich, II Civil Chamber, of 4 May 2015. Proceedings 4A_291/2015 and 4A_301/2015 were joined.
Lease agreement: By agreement of 6 December 1983, [C. SA] rented retail premises from the defendant and took over the department store operation from 1 February 1984. The agreement was limited in time until 31 January 2004, contained a ten-year extension right and a right of first refusal for 31 January 2014. By addendum of 5 November 2001, the right of first refusal was amended: the landlord had to submit an offer for continuation for at least 5 years on market-standard terms by 31 January 2011; if the parties failed to agree by 31 July 2012, the contractual relationship would definitively end on 31 January 2014. The tenancy was transferred to the plaintiff retroactively as of 1 January 2002 on 12 February 2002.
Procedural history: The plaintiff initiated conciliation proceedings on 5 May 2011 and filed an action with the Zurich Tenancy Court on 14 March 2012. It requested that the court determine the rent (alternatively 6.5% of turnover) and that the defendant be ordered to issue a time-limited offer. The Tenancy Court initially assumed a commercial dispute under Art. 6 para. 2 CPC, according to which the Commercial Court had mandatory jurisdiction (BGE 140 III 155); § 126 GOG/ZH was contrary to federal law. Nevertheless, after a lengthy evidentiary procedure (including numerous witness examinations in 2014), it rendered a substantive decision on 22 December 2014, ordered the defendant to issue the offer and dismissed the further requests, as it considered the principle of legitimate expectations relevant. The Higher Court joined both parties' appeals, examined subject-matter jurisdiction of its own motion and, by judgment of 4 May 2015, declined to enter into the action. The first-instance court costs of CHF 202,382.50 were imposed three quarters on the plaintiff (CHF 151,787.--) and one quarter on the defendant (CHF 50,595.50); the reduced party compensation of CHF 136,080.-- to the defendant was payable by the plaintiff. The second-instance costs of CHF 10,000.-- were imposed on the parties in equal halves.
Requests before the Federal Supreme Court: The defendant (4A_291/2015) requested that the judgment be set aside and the matter remitted for adjudication. The plaintiff (4A_301/2015) requested that dispositive paragraphs 2 and 3 (costs and compensation at first instance) be set aside, alternatively that no party compensation be awarded, subsidiarily that costs be divided equally, and sub-subsidiarily that the matter be remitted; the costs were to be imposed on the Canton of Zurich. The lower court waived a response.
Considerations
Admissibility: The Higher Court rendered a final decision (Art. 90 FSCA) as an upper cantonal court (Art. 75 FSCA); the amount in dispute exceeds the tenancy threshold under Art. 74 para. 1 lit. a FSCA. The appeals were admitted.
Subject-matter jurisdiction and examination of its own motion: Subject-matter jurisdiction is mandatory and not at the disposal of the parties (BGE 138 III 471; BGE 140 III 355 E. 2.4); parties cannot agree on jurisdiction unless the law provides an option. The appellate court must examine the subject-matter jurisdiction of the lower court even without a complaint (Art. 60 CPC). The Higher Court was therefore entitled to review jurisdiction without a corresponding objection, even though non-entry had not been requested.
No appealable interlocutory decision: Neither the evidentiary order of 27 May 2014 nor the presidential order of 27 October 2014 constitutes an independently appealable interlocutory decision on jurisdiction (Art. 308 para. 1 lit. a CPC, Art. 237 para. 2 CPC). The operative part contained no decision on jurisdiction, and there was no notice of legal remedies under Art. 238 lit. f CPC. Accordingly, no res judicata effect arose.
Late examination of jurisdiction and protection of legitimate expectations: The fact that the court examined jurisdiction late creates neither a statutory jurisdiction nor a submission. The interest in prompt disposal and procedural economy does not outweigh the violation of the mandatory jurisdictional rules, especially since the parties themselves had appealed the substantive decision. A defendant's trust in a court it did not choose does not, as a rule, establish jurisdiction. Nor can a legitimate expectation of the plaintiff open an impermissible legal route. Non-entry is therefore consistent with federal law.
Allocation of costs, principles: Under Art. 106 para. 1 CPC, the claimant bears the costs upon non-entry. Art. 106 para. 2 and Art. 107 CPC permit allocation at discretion or on grounds of equity, for example where a party was led in good faith to bring the proceedings (lit. b) or where special circumstances exist (lit. f). Art. 107 para. 2 CPC permits imposing costs on the canton. The Federal Supreme Court exercises restraint in discretionary decisions and intervenes only in cases of abuse of discretion or manifest inequity.
Allocation of costs, assessment of…