Facts
The original plaintiff, [Z. GmbH] , an Austrian company, brought an action on 31 January 2013 before the Civil Court of Gruyère against the defendant [X. SA] (Switzerland) for payment of two claims corresponding to the balances of the prices of two contracts for work (deliveries of special glass), for a total amount of CHF 366'413.81.
The defendant responded and filed a counterclaim on 16 August 2013, seeking payment of CHF 492'635 for defects and defective performance, while acknowledging an amount owed of CHF 262'206.67 which it set off, ultimately claiming CHF 230'428.33.
The bankruptcy of the plaintiff was declared on 6 May 2014 by an Austrian court, and a liquidator was appointed. By decision of 9 February 2016, the civil court ordered the plaintiff to provide security of CHF 97'960 for the defendant's presumed costs.
By an assignment agreement of 19 February 2016, governed by Swiss law, the Austrian bankruptcy estate assigned the two active claims (together with the bank guarantee) to the assignee [Y. AG] , without transferring the debt arising from the counterclaim to the extent it exceeds the set-off. The sale price was fixed at 10% of the net proceeds for the assignee, with 90% going to the estate; the assignee bore the costs of the proceedings, the assignor being jointly liable for costs until substitution.
On 7 March 2016, the plaintiff in bankruptcy requested substitution of party and the removal of the security. By decision of 24 February 2017, the court admitted the substitution and reduced the security to CHF 50'103. The Civil Court of Appeal of the Cantonal Court of Fribourg, by judgment of 27 October 2017, confirmed the substitution, specifying that it applied both to the principal claim and to the counterclaim, and removed any obligation to provide security. The cantonal court held that the assignment was at least fiduciary and that the statement that the debt remained in the estate was without effect.
The defendant appealed to the Federal Supreme Court, seeking annulment of the assignment, rejection of the substitution and reinstatement of the security of CHF 97'960. The assignee also appealed, requesting the deletion of the addition relating to the counterclaim. The plaintiff in bankruptcy requested dismissal of the defendant's appeal. The cantonal court made no observations.
Considerations
The Federal Supreme Court joins the two appeals, which concern the same judgment and the same legal questions. The cantonal decision admitting the substitution has the consequence that the original plaintiff is definitively removed from the proceedings; it therefore constitutes a partial decision (art. 91 FSCA). The civil appeals are admissible (art. 72 para. 1, 74 para. 1 let. b, 75, 76 para. 1 FSCA). The Federal Supreme Court applies the law of its own motion (art. 106 para. 1 FSCA) and supplements the statement of facts on the law applicable to the assignment (art. 16 PILA).
Art. 83 CCP provides that the acquirer of the disputed object alienated during the proceedings may take over the litigation in place of the party that withdraws (para. 1), that the successor is liable for all costs while the substituted party is jointly liable for costs until the substitution (para. 2), and that the court may order security (para. 3). For substitution without the consent of the opposing party to occur, the entitlement to the right (or the status of obligor) of the alienor must pass entirely on the substantive level; otherwise, the principle of disposition (art. 58 para. 1 CCP) does not allow the party to be deprived of its right to pursue the proceedings. The notion of alienation of the disputed object falls under procedural law, distinct from assignment within the meaning of art. 164 et seq. CO, and extends to set-off and counterclaims where the defendant raises them.
In this case, the disputed object includes not only the two active claims of the principal action, but also the claim for damages raised by the defendant by way of set-off and counterclaim, which is a debt of the bankruptcy estate. According to the parties' intention in the agreement, this debt remains in the estate to the extent it exceeds the set-off, and there was no assumption of debt, the creditor not having accepted it (art. 176 para. 1 CO). The parties therefore neither wished nor were able to assign the entirety of the disputed object; there is no succession of the assignee into all the rights and obligations of the original plaintiff.
The cantonal court considered, without convincing reasoning, that the statement that the debt remained in the estate was without effect and that the assignee took the place of the plaintiff…