<?xml version="1.0" encoding="UTF-8"?><CONCLUSION NNC="YES" xmlns:fmx="http://opoce" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://formex.publications.europa.eu/schema/formex-05.55-20141201.xd"><BIB.CONCLUSION><REF.CASE FILE="n.a."><NO.CASE>C‑185/15</NO.CASE></REF.CASE><NO.CELEX>62015CC0185</NO.CELEX><NO.ECLI ECLI="ECLI:EU:C:2016:397">EU:C:2016:397</NO.ECLI><NO.SEQ>0001</NO.SEQ><PAGE.FIRST.ECR>1</PAGE.FIRST.ECR><PAGE.SEQ>1</PAGE.SEQ><PAGE.LAST.ECR>11</PAGE.LAST.ECR><PAGE.TOTAL>11</PAGE.TOTAL></BIB.CONCLUSION><CURR.TITLE><PAGE.HEADER><P>OPINION OF MRS KOKOTT — CASE C‑185/15</P><P>KOSTANJEVEC</P></PAGE.HEADER></CURR.TITLE><TITLE><TI><P><HT TYPE="UC">Opinion of Advocate General</HT></P><P><HT TYPE="UC">Kokott</HT></P><P>delivered on <DATE ISO="20160602">2 June 2016</DATE><NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0001"><P>Original language: German.</P></NOTE></P></TI><STI><P><HT TYPE="BOLD">Case C‑185/15</HT></P><P><HT TYPE="BOLD">Marjan Kostanjevec</HT></P><P><HT TYPE="BOLD">v</HT></P><P><HT TYPE="BOLD">F&amp;S Leasing GmbH(Request for a preliminary ruling</HT></P><P><HT TYPE="NORMAL">from the Vrhovno sodišče Republike Slovenije (Supreme Court of the Republic of Slovenia))</HT></P></STI></TITLE><INDEX><KEYWORD>Judicial cooperation in civil matters</KEYWORD><KEYWORD>Regulation (EC) No 44/2001</KEYWORD><KEYWORD>Scope ratione temporis</KEYWORD><KEYWORD>Counterclaim alleging unjust enrichment</KEYWORD><KEYWORD>Matters relating to a contract</KEYWORD><KEYWORD>Place of performance of the obligation)</KEYWORD></INDEX><CONTENTS.CONCLUSION><GR.SEQ LEVEL="1"><TITLE><TI><NP><NO.P><HT TYPE="BOLD">I –</HT></NO.P><TXT><HT TYPE="BOLD">Introduction</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0001"><NO.P>1.</NO.P><TXT>In the present case the Court of Justice is confronted with a situation that is quite unusual both procedurally and factually, in relation to which the referring court has submitted to it several questions, all concerning Regulation (EC) No 44/2001.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0002"><P>Council Regulation of <DATE ISO="20001222">22 December 2000</DATE> on jurisdiction and the recognition and enforcement of judgments in civil and commercial matters (<REF.DOC.OJ COLL="L" NO.OJ="012" PAGE.FIRST="1" DATE.PUB="2001">OJ 2001 L 12, p. 1</REF.DOC.OJ>).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0002"><NO.P>2.</NO.P><TXT>The questions referred for a preliminary ruling concern, first, whether a claim by which a consumer who was originally ordered to make a payment, after the setting aside of the judgment for payment, sues the opposing party for repayment of the payment made, alleging unjust enrichment, can be regarded as a counterclaim within the meaning of that regulation. Secondly, the present case concerns the interpretation of the rules of jurisdiction in Regulation No 44/2001 in matters relating to consumers and contracts.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0003"><NO.P>3.</NO.P><TXT>Before answering the actual questions referred, the Court will also have to discuss whether Regulation No 44/2001 can apply to the present case at all, since the action for payment was brought against the consumer before the accession of the Republic of Slovenia to the European Union on <DATE ISO="20040501">1 May 2004</DATE>.</TXT></NP.ECR></GR.SEQ><?PAGE NO="2"?><GR.SEQ LEVEL="1"><TITLE><TI><NP><NO.P><HT TYPE="BOLD">II –</HT></NO.P><TXT><HT TYPE="BOLD">Legal framework</HT></TXT></NP></TI></TITLE><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>A –</NO.P><TXT><HT TYPE="ITALIC">EU law</HT></TXT></NP></TI></TITLE><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>1.</NO.P><TXT>Regulation No 44/2001</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0004"><NO.P>4.</NO.P><TXT>Recital 11 of Regulation No 44/2001 states:</TXT><P><QUOT.S LEVEL="1"><CONSID><P><QUOT.START CODE="2018" ID="QS0001" REF.END="QE0001"/>The rules of jurisdiction must be highly predictable and founded on the principle that jurisdiction is generally based on the defendant’s domicile … .<QUOT.END REF.START="QS0001" CODE="2019" ID="QE0001"/></P></CONSID></QUOT.S></P></NP.ECR><NP.ECR IDENTIFIER="NP0005"><NO.P>5.</NO.P><TXT>According to Article 5 of Regulation No 44/2001:</TXT><P><QUOT.S LEVEL="1"><ALINEA><P><QUOT.START CODE="2018" ID="QS0002" REF.END="QE0002"/>A person domiciled in a Member State may, in another Member State, be sued:</P><LIST TYPE="ARAB"><ITEM><NP><NO.P>1.</NO.P><TXT><LIST TYPE="alpha"><ITEM><NP><NO.P>(a)</NO.P><TXT>in matters relating to a contract, in the courts for the place of performance of the obligation in question;</TXT></NP></ITEM><ITEM><NP><NO.P>(b)</NO.P><TXT>for the purpose of this provision and unless otherwise agreed, the place of performance of the obligation in question shall be:</TXT><P><LIST TYPE="DASH"><ITEM><P>in the case of the sale of goods, the place in a Member State where, under the contract, the goods were delivered or should have been delivered,</P></ITEM><ITEM><P>in the case of the provision of services, the place in a Member State where, under the contract, the services were provided or should have been provided,</P></ITEM></LIST></P></NP></ITEM><ITEM><NP><NO.P>(c)</NO.P><TXT>if subparagraph (b) does not apply then subparagraph (a) applies; …<QUOT.END REF.START="QS0002" CODE="2019" ID="QE0002"/></TXT></NP></ITEM></LIST></TXT></NP></ITEM></LIST></ALINEA></QUOT.S></P></NP.ECR><NP.ECR IDENTIFIER="NP0006"><NO.P>6.</NO.P><TXT>Article 6 of Regulation No 44/2001 provides:</TXT><P><QUOT.S LEVEL="1"><ALINEA><P><QUOT.START CODE="2018" ID="QS0003" REF.END="QE0003"/>A person domiciled in a Member State may also be sued: …</P><LIST TYPE="ARAB"><ITEM><NP><NO.P>3.</NO.P><TXT>on a counter-claim arising from the same contract or facts on which the original claim was based, in the court in which the original claim is pending; …<QUOT.END REF.START="QS0003" CODE="2019" ID="QE0003"/></TXT></NP></ITEM></LIST></ALINEA></QUOT.S></P></NP.ECR><NP.ECR IDENTIFIER="NP0007"><NO.P>7.</NO.P><TXT>Article 15(1) of Regulation No 44/2001 provides:</TXT><P><QUOT.S LEVEL="1"><ALINEA><P><QUOT.START CODE="2018" ID="QS0004" REF.END="QE0004"/>In matters relating to a contract concluded by a person, the consumer, for a purpose which can be regarded as being outside his trade or profession, jurisdiction shall be determined by this Section … if:</P><LIST TYPE="alpha"><ITEM><NP><NO.P>(a)</NO.P><TXT>it is a contract for the sale of goods on instalment credit terms; or</TXT></NP></ITEM><ITEM><NP><NO.P>(b)</NO.P><TXT>it is a contract for a loan repayable by instalments, or for any other form of credit, made to finance the sale of goods; or</TXT></NP></ITEM><ITEM><NP><NO.P>(c)</NO.P><TXT>in all other cases, the contract has been concluded with a person who pursues commercial or professional activities in the Member State of the consumer’s domicile or, by any means, directs such activities to that Member State or to several States including that Member State, and the contract falls within the scope of such activities.<QUOT.END REF.START="QS0004" CODE="2019" ID="QE0004"/></TXT></NP></ITEM></LIST></ALINEA></QUOT.S></P></NP.ECR><?PAGE NO="3"?><NP.ECR IDENTIFIER="NP0008"><NO.P>8.</NO.P><TXT>Article 16 of Regulation No 44/2001 provides that the rule on jurisdiction over consumer contracts <QUOT.START CODE="2018" ID="QS0005" REF.END="QE0005"/>shall not affect the right to bring a counterclaim in the court in which, in accordance with this Section, the original claim is pending<QUOT.END REF.START="QS0005" CODE="2019" ID="QE0005"/>.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0009"><NO.P>9.</NO.P><TXT>Article 28 of Regulation No 44/2001 provides:</TXT><P><QUOT.S LEVEL="1"><P><QUOT.START CODE="2018" ID="QS0006" REF.END="QE0006"/>… Where related actions are pending in the courts of different Member States, any court other than the court first seised may stay its proceedings.</P><P>…</P><PARAG IDENTIFIER="028.003"><NO.PARAG>3.</NO.PARAG><ALINEA>For the purposes of this Article, actions are deemed to be related where they are so closely connected that it is expedient to hear and determine them together to avoid the risk of irreconcilable judgments resulting from separate proceedings.<QUOT.END REF.START="QS0006" CODE="2019" ID="QE0006"/></ALINEA></PARAG></QUOT.S></P></NP.ECR><NP.ECR IDENTIFIER="NP0010"><NO.P>10.</NO.P><TXT>The transitional provision in Article 66(1) of Regulation No 44/2001 is worded as follows:</TXT><P><QUOT.S LEVEL="1"><ALINEA><QUOT.START CODE="2018" ID="QS0007" REF.END="QE0007"/>This Regulation shall apply only to legal proceedings instituted and to documents formally drawn up or registered as authentic instruments after the entry into force thereof.<QUOT.END REF.START="QS0007" CODE="2019" ID="QE0007"/></ALINEA></QUOT.S></P></NP.ECR></GR.SEQ><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>2.</NO.P><TXT>Regulation No 864/2007 (Rome II)</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0011"><NO.P>11.</NO.P><TXT>Recital 7 of Regulation No 864/2007<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0003"><P>Regulation of the European Parliament and of the Council of <DATE ISO="20070711">11 July 2007</DATE> on the law applicable to non-contractual obligations (Rome II) (<REF.DOC.OJ COLL="L" NO.OJ="199" PAGE.FIRST="40" DATE.PUB="2007">OJ 2007 L 199, p. 40</REF.DOC.OJ>).</P></NOTE> states:</TXT><QUOT.S LEVEL="1"><P><QUOT.START CODE="2018" ID="QS0008" REF.END="QE0008"/>The substantive scope and the provisions of this Regulation should be consistent with … Regulation No 44/2001 … and the instruments dealing with the law applicable to contractual obligations.<QUOT.END REF.START="QS0008" CODE="2019" ID="QE0008"/></P></QUOT.S></NP.ECR><NP.ECR IDENTIFIER="NP0012"><NO.P>12.</NO.P><TXT>Article 10(1) of Regulation No 864/2007 provides:</TXT><P><QUOT.S LEVEL="1"><ALINEA><QUOT.START CODE="2018" ID="QS0009" REF.END="QE0009"/>If a non-contractual obligation arising out of unjust enrichment, including payment of amounts wrongly received, concerns a relationship existing between the parties, such as one arising out of a contract or a tort/delict, that is closely connected with that unjust enrichment, it shall be governed by the law that governs that relationship.<QUOT.END REF.START="QS0009" CODE="2019" ID="QE0009"/></ALINEA></QUOT.S></P></NP.ECR></GR.SEQ><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>3.</NO.P><TXT>Regulation No 593/2008 (Rome I)</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0013"><NO.P>13.</NO.P><TXT>Recital 7 of Regulation No 593/2008<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0004"><P>Regulation of the European Parliament and of the Council of <DATE ISO="20080617">17 June 2008</DATE> on the law applicable to contractual obligations (Rome I) (<REF.DOC.OJ COLL="L" NO.OJ="177" PAGE.FIRST="6" DATE.PUB="2008">OJ 2008 L 177, p. 6</REF.DOC.OJ>).</P></NOTE> states:</TXT><P><QUOT.S LEVEL="1"><CONSID><P><QUOT.START CODE="2018" ID="QS0010" REF.END="QE0010"/>The substantive scope and the provisions of this Regulation should be consistent with Regulation (EC) No 44/2001 … and [the Rome II] Regulation … .<QUOT.END REF.START="QS0010" CODE="2019" ID="QE0010"/></P></CONSID></QUOT.S></P></NP.ECR><NP.ECR IDENTIFIER="NP0014"><NO.P>14.</NO.P><TXT>Article 12(1) of Regulation No 593/2008 provides:</TXT><P><QUOT.S LEVEL="1"><ALINEA><P><QUOT.START CODE="2018" ID="QS0011" REF.END="QE0011"/>The law applicable to a contract by virtue of this Regulation shall govern in particular: …</P><LIST TYPE="alpha"><ITEM><NP><NO.P>(e)</NO.P><TXT>the consequences of nullity of the contract.<QUOT.END REF.START="QS0011" CODE="2019" ID="QE0011"/></TXT></NP></ITEM></LIST></ALINEA></QUOT.S></P></NP.ECR></GR.SEQ></GR.SEQ><?PAGE NO="4"?><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>B –</NO.P><TXT><HT TYPE="ITALIC">National law</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0015"><NO.P>15.</NO.P><TXT>Under the Slovenian law of obligations, a person who has been enriched without any legal basis and to the detriment of others is required to return what he has received, if possible, or otherwise to compensate for the value of the advantage obtained. The obligation under the law on unjust enrichment to return or compensate exists even where a person receives something on the basis of a condition which subsequently ceases to apply.</TXT></NP.ECR></GR.SEQ></GR.SEQ><GR.SEQ LEVEL="1"><TITLE><TI><NP><NO.P><HT TYPE="BOLD">III –</HT></NO.P><TXT><HT TYPE="BOLD">The dispute in the main proceedings and the questions referred</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0016"><NO.P>16.</NO.P><TXT>On <DATE ISO="19940114">14 January 1994</DATE> the parties to the main proceedings concluded a financial leasing contract from which the lessor derived a claim for payment. The lessor raised this claim by action against the lessee for the first time in 1995, and in 2004 it obtained a judgment which, after an unsuccessful appeal, became final and enforceable. In 2006 the parties agreed on payment of EUR <FT TYPE="DECIMAL">18678.45</FT> in satisfaction of this judgment.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0017"><NO.P>17.</NO.P><TXT>However, the lessee appealed against the order requiring him to make payment with a further available appeal.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0005"><P>In point 3 of the request for a preliminary ruling this Slovenian appeal is referred to as an appeal on a point of law (<QUOT.START CODE="2018" ID="QS0012" REF.END="QE0012"/>Revision<QUOT.END REF.START="QS0012" CODE="2019" ID="QE0012"/> in German); however, in the German understanding of the term, it is, rather, an application for the reopening of proceedings that have already been finally disposed of.</P></NOTE> Following this appeal, on <DATE ISO="20080709">9 July 2008</DATE> the Vrhovno sodišče Republike Slovenije (Supreme Court of the Republic of Slovenia) set aside the judgments allowing the lessor’s claim for payment and referred the case back to the court of first instance for a fresh examination. At this stage of the proceedings the lessee raised a counterclaim against the lessor for repayment of the sum of EUR <FT TYPE="DECIMAL">18678.45</FT> plus interest, basing his claim on unjust enrichment, since the judgment from 2004 making the lessor’s claim legally enforceable had ceased to apply.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0018"><NO.P>18.</NO.P><TXT>On referral of the case back to the court of first instance the lessor’s claim for payment was definitively dismissed. The lessee, on the other hand, was successful with his application, both at first instance and on appeal. The lessor, now the losing party, brought an appeal before the referring court and contested the international jurisdiction of the Slovenian courts for the lessee’s claim.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0019"><NO.P>19.</NO.P><TXT>In these circumstances, the referring court decided to stay the proceedings and to refer the following questions to the Court of Justice for a preliminary ruling:</TXT><P><QUOT.S LEVEL="1"><LIST TYPE="OTHER"><ITEM><NP><NO.P><QUOT.START CODE="2018" ID="QS0013" REF.END="QE0013"/>(1)</NO.P><TXT>Must the term <QUOT.START CODE="201C" ID="QS0014" REF.END="QE0014"/>counterclaim<QUOT.END REF.START="QS0014" CODE="201D" ID="QE0014"/> within the meaning of Article 6(3) of Regulation No 44/2001 be interpreted as extending also to a claim brought as a counterclaim in accordance with national law after, in proceedings on an appeal on a point of law,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0006"><P>In relation to the term <QUOT.START CODE="2018" ID="QS0015" REF.END="QE0015"/>Revision<QUOT.END REF.START="QS0015" CODE="2019" ID="QE0015"/>, see footnote 5.</P></NOTE> a judgment delivered in proceedings on the defendant’s<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0007"><P>This means the lessor and defendant to the counterclaim.</P></NOTE> original claim that had become final and enforceable was set aside and the case referred back to the court of first instance for rehearing, where the applicant,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0008"><P>This means the lessee and counterclaimant.</P></NOTE> in his counterclaim alleging unjust enrichment, seeks reimbursement of the amount which he was obliged to pay on the basis of the judgment delivered in the proceedings on the defendant’s original claim and set aside?</TXT></NP></ITEM><ITEM><NP><NO.P>(2)</NO.P><TXT>Must the expression <QUOT.START CODE="201C" ID="QS0016" REF.END="QE0016"/>matters relating to a contract concluded by a person, the consumer<QUOT.END REF.START="QS0016" CODE="201D" ID="QE0016"/> in Article 15(1) of Regulation No 44/2001 be interpreted as extending to a situation in which the consumer brings an action, in which he pursues a claim alleging unjust enrichment, by way of counterclaim for the purposes of national law, linked to the original claim, which however relates to a case concerning a consumer contract within the meaning of that provision of Regulation<?PAGE NO="5"?> No 44/2001, and in which the consumer-applicant seeks reimbursement of the amount he was obliged to pay by a judgment (subsequently) set aside, delivered in proceedings on the defendant’s original claim, and thus reimbursement of an amount arising from a case concerning a consumer contract?</TXT></NP></ITEM><ITEM><NP><NO.P>(3)</NO.P><TXT>If, in the case described above, jurisdiction cannot be based either on the jurisdictional rules for counterclaims or on the jurisdictional rules for consumer contracts:</TXT><P><LIST TYPE="alpha"><ITEM><NP><NO.P>(a)</NO.P><TXT>Must the term <QUOT.START CODE="201C" ID="QS0017" REF.END="QE0017"/>matters relating to a contract<QUOT.END REF.START="QS0017" CODE="201D" ID="QE0017"/> in Article 5(1) of Regulation No 44/2001 be interpreted as extending to an action in which the applicant pursues a claim alleging unjust enrichment, but that is brought as a counterclaim under national law, linked to the defendant’s original claim which relates to the contractual relationship between the parties, where the purpose of the claim alleging unjust enrichment is to obtain reimbursement of the amount the applicant was obliged to pay by a judgment (subsequently) set aside, delivered in proceedings on the defendant’s original claim, and thus reimbursement of an amount arising from a contractual case?</TXT><P>If the foregoing question can be answered in the affirmative:</P></NP></ITEM><ITEM><NP><NO.P>(b)</NO.P><TXT>In the case described above, must jurisdiction based on the place of performance within the meaning of Article 5(1) of Regulation No 44/2001 be examined on the basis of the rules governing the performance of obligations deriving from a claim alleging unjust enrichment?<QUOT.END REF.START="QS0013" CODE="2019" ID="QE0013"/></TXT></NP></ITEM></LIST></P></NP></ITEM></LIST></QUOT.S></P></NP.ECR></GR.SEQ><GR.SEQ LEVEL="1"><TITLE><TI><NP><NO.P><HT TYPE="BOLD">IV –</HT></NO.P><TXT><HT TYPE="BOLD">Legal assessment</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0020"><NO.P>20.</NO.P><TXT>The referring court is asking, in the first place, about jurisdiction over the counterclaim by which the lessee seeks reimbursement and, with its second question, about jurisdiction in matters relating to consumer contracts. It asks its third question only in the event that the first two questions should be answered in the negative, and the second part of the third question only in the event that the first part is answered in the affirmative.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0021"><NO.P>21.</NO.P><TXT>All the questions referred for a preliminary ruling concern the interpretation of Regulation No 44/2001. However, whether these questions have to be answered by the Court of Justice is not self-evident in the context of the course of proceedings presented by the national court. Instead it is questionable whether that regulation, in view of its scope <HT TYPE="ITALIC">ratione temporis</HT>, can be relevant at all for the main proceedings.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0022"><NO.P>22.</NO.P><TXT>Regulation No 44/2001 came into force in Slovenian territory on Slovenia’s accession to the Union on <DATE ISO="20040501">1 May 2004</DATE>.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0009"><P>On the scope <HT TYPE="ITALIC">ratione temporis</HT> of Regulation No 44/2001, see judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Wolf Naturprodukte</HT></NAME.CASE> (<NO.CASE>C‑514/10</NO.CASE>, ECR, <NO.ECLI ECLI="ECLI:EU:C:2012:367">EU:C:2012:367</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0019">19</REF.NP.ECR></REF.DOC.ECR>) and the <REF.DOC.ECR><NAME.CASE>Opinion of Advocate General Cruz Villalón in the same case</NAME.CASE> (<NO.CASE>C‑514/10</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2012:54">EU:C:2012:54</NO.ECLI>, point <REF.NP.ECR REF="NP0025">25</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> However, the proceedings against the counterclaiming lessee date back to 1995, that is to say, to a date prior to the accession of the Republic of Slovenia to the European Union.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0023"><NO.P>23.</NO.P><TXT>Prior to an analysis of the questions referred, it is therefore necessary to start by clarifying the applicability of Regulation No 44/2001 to the present case. If a negative answer should be reached, there would be no need to answer the questions referred because they would then bear no relation to the case pending before the national court and would be hypothetical.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0010"><P>See judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Česká spořitelna</HT></NAME.CASE> (<NO.CASE>C‑419/11</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2013:165">EU:C:2013:165</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0021">21</REF.NP.ECR></REF.DOC.ECR> and the case-law cited).</P></NOTE></TXT></NP.ECR><?PAGE NO="6"?><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>A –</NO.P><TXT><HT TYPE="ITALIC">The scope ratione temporis of Regulation No 44/2001</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0024"><NO.P>24.</NO.P><TXT>According to Article 66 of Regulation No 44/2001, the regulation is to apply only to legal proceedings instituted <HT TYPE="ITALIC">after the entry into force of the regulation</HT>.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0025"><NO.P>25.</NO.P><TXT>In view of this, the regulation clearly does not apply to the lessor’s original claim for payment from 1995.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0026"><NO.P>26.</NO.P><TXT>However, that claim for payment by the lessor is not the direct reference point for the questions referred. Instead they relate to the lessee’s counterclaim from 2008, which was brought by him when the Slovenian proceedings were referred back to the court of first instance after having concluded with a final judgment. At that date Regulation No 44/2001 was already applicable in the Republic of Slovenia.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0027"><NO.P>27.</NO.P><TXT>The decisive point is therefore whether that application for legal protection is separate <QUOT.START CODE="2018" ID="QS0018" REF.END="QE0018"/>legal proceedings<QUOT.END REF.START="QS0018" CODE="2019" ID="QE0018"/> within the meaning of Article 66 of Regulation No 44/2001 and whether, regardless of the fact that the proceedings as a whole date back to 1995, they come within the scope <HT TYPE="ITALIC">ratione temporis</HT> of the regulation.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0028"><NO.P>28.</NO.P><TXT>The European Commission does not share such a view. For the Commission the proceedings must be considered as a whole and regarded as predating the entry into force of Regulation No 44/2001 in Slovenia. Accordingly, the Commission takes the view that the questions referred are inadmissible.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0029"><NO.P>29.</NO.P><TXT>However, such a blanket approach is neither necessary nor reasonable.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0030"><NO.P>30.</NO.P><TXT>First, the proceedings brought against the lessee had already ended in a final judgment before they were referred back to the court of first instance in 2008. Against this background, in view of the blocking effect to which <HT TYPE="ITALIC">res judicata</HT> gives rise, it is questionable whether, under EU law, one has to proceed on the basis of a continuity of proceedings dating back to 1995 at all or whether it does not appear necessary instead to regard the already ruptured procedural sequence as having been resumed in 2008, that is to say, at a time when Regulation No 44/2001 was already applicable.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0031"><NO.P>31.</NO.P><TXT>Second, Article 66 of Regulation No 44/2001 — unlike, say, Article 30(1)<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0011"><P>This provision concerns the delimitation of the jurisdiction of several courts successively seised of a dispute and applies, moreover, only to Section 9 of Chapter II of the regulation; however, Article 66 at issue here is not in that section.</P></NOTE> — does not focus at all on the lodging of the (first) document instituting the proceedings, but focuses instead on the institution of particular proceedings. If such proceedings are instituted after the entry into force of the regulation, under Article 66 of the regulation, the regulation is applicable.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0032"><NO.P>32.</NO.P><TXT>That this should mean only the <HT TYPE="ITALIC">first</HT> claim within complex proceedings combining a number of claims cannot be deduced from Article 66 of the regulation. If, furthermore, the term <QUOT.START CODE="2018" ID="QS0019" REF.END="QE0019"/>proceedings<QUOT.END REF.START="QS0019" CODE="2019" ID="QE0019"/> is understood in accordance with the judgment in <HT TYPE="ITALIC">Danværn Production</HT><NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0012"><P>Judgment of <REF.DOC.ECR><DATE ISO="19950713">13 July 1995</DATE> in <NAME.CASE><HT TYPE="ITALIC">Danværn Production</HT></NAME.CASE> (<NO.CASE>C‑341/93</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1995:239">EU:C:1995:239</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0018">18</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> as meaning a separate application for legal protection seeking more than the mere dismissal of the opposing party’s arguments, the raising of a claim for unjust enrichment against the opposing party can be covered by the term <QUOT.START CODE="2018" ID="QS0020" REF.END="QE0020"/>proceedings<QUOT.END REF.START="QS0020" CODE="2019" ID="QE0020"/> in Article 66 of Regulation No 44/2001.</TXT></NP.ECR><?PAGE NO="7"?><NP.ECR IDENTIFIER="NP0033"><NO.P>33.</NO.P><TXT>Nor is that conclusion contradicted by the fact that Article 66 of Regulation No 44/2001 in some language versions uses not the concept of <QUOT.START CODE="2018" ID="QS0021" REF.END="QE0021"/>claim<QUOT.END REF.START="QS0021" CODE="2019" ID="QE0021"/> but the concept of <QUOT.START CODE="2018" ID="QS0022" REF.END="QE0022"/>proceedings<QUOT.END REF.START="QS0022" CODE="2019" ID="QE0022"/>.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0013"><P>See, for example, the English (<QUOT.START CODE="2018" ID="QS0023" REF.END="QE0023"/>legal proceedings<QUOT.END REF.START="QS0023" CODE="2019" ID="QE0023"/>), Swedish (<QUOT.START CODE="2018" ID="QS0024" REF.END="QE0024"/>rättsliga förfaranden<QUOT.END REF.START="QS0024" CODE="2019" ID="QE0024"/>) and Slovene (<QUOT.START CODE="2018" ID="QS0025" REF.END="QE0025"/>pravne postopke<QUOT.END REF.START="QS0025" CODE="2019" ID="QE0025"/>) versions. The French, Italian and Spanish versions, on the other hand, follow terminologically the concept of <QUOT.START CODE="2018" ID="QS0026" REF.END="QE0026"/>action judiciaire<QUOT.END REF.START="QS0026" CODE="2019" ID="QE0026"/>.</P></NOTE> It does not follow from the use of the concept of <QUOT.START CODE="2018" ID="QS0027" REF.END="QE0027"/>proceedings<QUOT.END REF.START="QS0027" CODE="2019" ID="QE0027"/> that a claim and counterclaim must form a single, continuous set of proceedings for the purposes of Article 66. Even if certain legal systems of the Member States were to go along those lines, that would not preclude the autonomous interpretation of Article 66 suggested here.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0034"><NO.P>34.</NO.P><TXT>It therefore has to be considered that the request for a preliminary ruling, all of the questions in which relate to the lessee’s claim alleging unjust enrichment brought in 2008, falls within the temporal scope of Regulation No 44/2001.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0035"><NO.P>35.</NO.P><TXT>The questions referred are therefore not hypothetical and accordingly must be answered by the Court of Justice.</TXT></NP.ECR></GR.SEQ><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>B –</NO.P><TXT><HT TYPE="ITALIC">First question referred for a preliminary ruling</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0036"><NO.P>36.</NO.P><TXT>By its first question referred for a preliminary ruling the national court is asking whether the jurisdiction over counterclaims laid down in Article 6(3) of Regulation No 44/2001 is applicable to an application for legal protection such as that in the main proceedings.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0037"><NO.P>37.</NO.P><TXT>In addition to a general definition of the concept of counterclaim, it therefore needs to be determined whether the lessee’s claim alleging unjust enrichment concerns <QUOT.START CODE="2018" ID="QS0028" REF.END="QE0028"/>the same contract or facts on which the [lessor’s] original claim was based<QUOT.END REF.START="QS0028" CODE="2019" ID="QE0028"/> within the meaning of that provision.</TXT></NP.ECR><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>1.</NO.P><TXT>The term <QUOT.START CODE="2018" ID="QS0029" REF.END="QE0029"/>counterclaim<QUOT.END REF.START="QS0029" CODE="2019" ID="QE0029"/> in Article 6(3) of Regulation No 44/2001</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0038"><NO.P>38.</NO.P><TXT>The term <QUOT.START CODE="2018" ID="QS0030" REF.END="QE0030"/>counterclaim<QUOT.END REF.START="QS0030" CODE="2019" ID="QE0030"/> within the meaning of Article 6(3) of Regulation No 44/2001 must be given an autonomous interpretation. The Court of Justice clarified the term in <HT TYPE="ITALIC">Danværn Production</HT> by specifying that it applies to claims for a separate judgment against the plaintiff, which may also seek <QUOT.START CODE="2018" ID="QS0031" REF.END="QE0031"/>an amount exceeding that claimed by the plaintiff, and [the separate claim] can be proceeded with even if the plaintiff’s claim is dismissed<QUOT.END REF.START="QS0031" CODE="2019" ID="QE0031"/>.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0014"><P>See judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Danværn Production</HT></NAME.CASE> (<NO.CASE>C‑341/93</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1995:239">EU:C:1995:239</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0012">12</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0039"><NO.P>39.</NO.P><TXT>The counterclaim must therefore pursue a claim that is distinguishable from the plaintiff’s claim, seeking a separate judgment.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0015"><P>See Opinion of Advocate General Léger in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Danværn Production</HT></NAME.CASE> (<NO.CASE>C‑341/93</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1995:139">EU:C:1995:139</NO.ECLI>, point <REF.NP.ECR REF="NP0026">26</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0040"><NO.P>40.</NO.P><TXT>This can be presumed in the present case.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0041"><NO.P>41.</NO.P><TXT>The application for reimbursement of the amount paid is a separate claim by the lessee seeking separate judgment against the lessor and the refund of the amount unduly paid. Such a claim does not constitute a mere defence to the opposing party’s claim for payment.</TXT></NP.ECR></GR.SEQ><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>2.</NO.P><TXT>The expression <QUOT.START CODE="2018" ID="QS0032" REF.END="QE0032"/>the same contract or facts on which the original claim was based<QUOT.END REF.START="QS0032" CODE="2019" ID="QE0032"/></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0042"><NO.P>42.</NO.P><TXT>Article 6(3) of Regulation No 44/2001 requires, in addition, that the counterclaim arises <QUOT.START CODE="2018" ID="QS0033" REF.END="QE0033"/>from the same contract or facts on which the original claim was based<QUOT.END REF.START="QS0033" CODE="2019" ID="QE0033"/>.</TXT></NP.ECR><?PAGE NO="8"?><NP.ECR IDENTIFIER="NP0043"><NO.P>43.</NO.P><TXT>Interpretation of the concept of <QUOT.START CODE="2018" ID="QS0034" REF.END="QE0034"/>arising from the same contract or facts on which the original claim was based<QUOT.END REF.START="QS0034" CODE="2019" ID="QE0034"/> has not yet been exhaustively addressed by the Court.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0016"><P>See order in the manifestly inadmissible request for a preliminary ruling <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Reichling</HT></NAME.CASE> (<NO.CASE>C‑69/02</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2002:221">EU:C:2002:221</NO.ECLI></REF.DOC.ECR>).</P></NOTE> It too must be given an autonomous interpretation in the light of the aims pursued by Regulation No 44/2001, although recourse to the Court’s case-law in relation to Article 28 of the regulation is not necessary.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0017"><P>The issue of the <QUOT.START CODE="2018" ID="QS0035" REF.END="QE0035"/>connection<QUOT.END REF.START="QS0035" CODE="2019" ID="QE0035"/> between two actions arises in this provision too. However, as a consequence of the wording of Article 28(3) (<QUOT.START CODE="2018" ID="QS0036" REF.END="QE0036"/>for the purposes of this Article<QUOT.END REF.START="QS0036" CODE="2019" ID="QE0036"/>) and its schematic position, it relates <HT TYPE="ITALIC">exclusively</HT> to a procedural situation in which there is a risk of irreconcilable judgments because related actions have been brought in different courts of different Member States. By contrast, where a counterclaim is brought in one and the same set of proceedings, there is no risk of irreconcilable judgments.</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0044"><NO.P>44.</NO.P><TXT>The purpose of the special jurisdiction over counterclaims is to enable the parties to have their claims against each other adjudicated in the same proceedings and before the same court,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0018"><P>See Opinion of Advocate General Léger in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Danværn Production</HT></NAME.CASE> (<NO.CASE>C‑341/93</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1995:139">EU:C:1995:139</NO.ECLI>, points <REF.NP.ECR REF="NP0007">7</REF.NP.ECR> and <REF.NP.ECR REF="NP0035">35</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> provided these claims are based on the same facts and thus <QUOT.START CODE="2018" ID="QS0037" REF.END="QE0037"/>arise from the contract or from the facts on which the original claim [instituting proceedings] was based<QUOT.END REF.START="QS0037" CODE="2019" ID="QE0037"/>.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0019"><P>Report on the Convention of <DATE ISO="19680917">17 September 1968</DATE> on jurisdiction and the enforcement of judgments in civil and commercial matters by P. Jenard (<REF.DOC.OJ COLL="C" NO.OJ="059" PAGE.FIRST="1" DATE.PUB="1979">OJ 1979 C 59, p. 1</REF.DOC.OJ>, at p. 28).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0045"><NO.P>45.</NO.P><TXT>This is the case here. The claim for repayment brought by way of counterclaim arose from the leasing contract from which the original claim for payment was derived.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0046"><NO.P>46.</NO.P><TXT>The claim for repayment of the amount paid in performance of an obligation deriving from a judicial decision is indeed of an unjust enrichment nature, but it can, however, be traced back to the leasing contract, as the claim alleging unjust enrichment would not have arisen in the absence of the leasing contract and the payment made for its performance.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0047"><NO.P>47.</NO.P><TXT>As regards the question whether a sufficient link exists to the contract concluded by the parties, the rules in Regulation No 593/2008 on the law applicable to contractual obligations (Rome I) and Regulation No 864/2007 on the law applicable to non-contractual obligations (Rome II) can be considered in addition. The Rome I and Rome II regulations concur in adopting the principle that, for a reversal of payments on the ground of unjust enrichment, the law applicable to the underlying contract must be taken,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0020"><P>Schematically, in the case of void contracts, Article 12(1)(e) of the Rome I Regulation is to be regarded as having priority over Article 10(1) of the Rome II Regulation (cf. <HT TYPE="ITALIC">NomosKommentar-BGB/Leible</HT>, Art. 12 Rom I, paragraph 35 with further references).</P></NOTE> and they thus view the claim alleging unjust enrichment as ultimately having its origin in the contract for the performance of which the payment in question was made.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0048"><NO.P>48.</NO.P><TXT>Accordingly, it is reasonable to assume corresponding uniformity and a connection originating in the contract also in the case of counterclaims alleging unjust enrichment falling within the scope of Article 6(3) of Regulation No 44/2001.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0049"><NO.P>49.</NO.P><TXT>In view of the foregoing, the answer to the first question is that the expression <QUOT.START CODE="2018" ID="QS0038" REF.END="QE0038"/>counterclaim arising from the same contract … on which the original claim was based<QUOT.END REF.START="QS0038" CODE="2019" ID="QE0038"/> within the meaning of Article 6(3) of Regulation No 44/2001 extends also to a claim, brought after a judgment delivered in proceedings on the present defendant’s original claim that had become final and enforceable was set aside and the case referred back to the court of first instance for rehearing, by which the present applicant, claiming on the basis of unjust enrichment, seeks reimbursement of an amount which he paid on the basis of the judgment delivered in the original proceedings and subsequently set aside.</TXT></NP.ECR></GR.SEQ></GR.SEQ><?PAGE NO="9"?><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>C –</NO.P><TXT><HT TYPE="ITALIC">Second question referred for a preliminary ruling</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0050"><NO.P>50.</NO.P><TXT>By its second question referred for a preliminary ruling the national court is asking for clarification as to whether a claim by which a consumer, by way of counterclaim, pursues an allegation of unjust enrichment in connection with a consumer contract within the meaning of Regulation No 44/2001 is also a matter relating to a consumer contract.</TXT></NP.ECR><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>1.</NO.P><TXT>Admissibility of the second question referred</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0051"><NO.P>51.</NO.P><TXT>The national court has not confined this question to the situation, which does not obtain here, where the Court answers the question concerning jurisdiction over counterclaims in the negative.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0052"><NO.P>52.</NO.P><TXT>However, in the situation present here, answering the second question would no longer seem to be relevant, given that in the main proceedings jurisdiction over the counterclaim under Article 6(3) of Regulation No 44/2001 exists in any case, and accordingly the question of the international jurisdiction of the Slovenian courts must therefore already be answered in the affirmative.</TXT></NP.ECR></GR.SEQ><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>2.</NO.P><TXT>As a precautionary measure: substantive analysis of the second question referred</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0053"><NO.P>53.</NO.P><TXT>As a precautionary measure, the second question will be examined briefly and the legal nature of the unjust enrichment claim brought by way of counterclaim will be considered in the light of the jurisdiction over consumer contracts.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0054"><NO.P>54.</NO.P><TXT>In relation to jurisdiction over consumer contracts, the Court of Justice has taken a broad approach and also included claims that are merely <QUOT.START CODE="2018" ID="QS0039" REF.END="QE0039"/>closely linked<QUOT.END REF.START="QS0039" CODE="2019" ID="QE0039"/> to a consumer contract.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0021"><P>See, most recently, judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Hobohm</HT></NAME.CASE> (<NO.CASE>C‑297/14</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2015:844">EU:C:2015:844</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0033">33</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> An application for legal protection such as the claim brought in the main proceedings seeking the refund of a payment made in performance of a consumer contract — in the present case, the financial leasing contract — has such a close link.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0055"><NO.P>55.</NO.P><TXT>In view of the foregoing, the answer to the second question referred would have to be that the expression <QUOT.START CODE="2018" ID="QS0040" REF.END="QE0040"/>matters relating to a contract concluded by a person, the consumer<QUOT.END REF.START="QS0040" CODE="2019" ID="QE0040"/> within the meaning of Article 15(1) of Regulation No 44/2001 is to be interpreted as extending to a claim by a consumer alleging unjust enrichment which is linked to other proceedings concerning a consumer contract being conducted against the consumer, and which seeks the refund of the amount that the consumer was obliged to pay by a judgment which was delivered in the other proceedings concerning a consumer contract and subsequently set aside.</TXT></NP.ECR></GR.SEQ></GR.SEQ><GR.SEQ LEVEL="2"><TITLE><TI><NP><NO.P>D –</NO.P><TXT><HT TYPE="ITALIC">Third question referred for a preliminary ruling</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0056"><NO.P>56.</NO.P><TXT>By its third question referred for a preliminary ruling the national court wishes to know whether (and, where relevant, how) the rule of jurisdiction for contractual matters in Article 5(1) of Regulation No 44/2001 is applicable where, as in the main proceedings, the lessee pursues a claim alleging unjust enrichment.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0057"><NO.P>57.</NO.P><TXT>Since the jurisdiction of the Slovenian courts can be based both on the rules of jurisdiction over counterclaims and on the rules of jurisdiction over consumer contracts, there is no need to reply to the third question. As a precautionary measure, this question will be examined briefly.</TXT></NP.ECR><?PAGE NO="10"?><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>1.</NO.P><TXT>First part of the third question referred</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0058"><NO.P>58.</NO.P><TXT>The expression <QUOT.START CODE="2018" ID="QS0041" REF.END="QE0041"/>matters relating to a contract<QUOT.END REF.START="QS0041" CODE="2019" ID="QE0041"/> within the meaning of Article 5(1) of Regulation No 44/2001 concerns, in the first place, any obligation freely assumed by one party towards another.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0022"><P>See judgments in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Handte</HT></NAME.CASE> (<NO.CASE>C‑26/91</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1992:268">EU:C:1992:268</NO.ECLI></REF.DOC.ECR>), <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Tacconi</HT></NAME.CASE> (<NO.CASE>C‑334/00</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2002:499">EU:C:2002:499</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0023">23</REF.NP.ECR></REF.DOC.ECR>) and <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Engler</HT></NAME.CASE> (<NO.CASE>C‑27/02</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2005:33">EU:C:2005:33</NO.ECLI>, paragraphs <REF.NP.ECR REF="NP0048">48</REF.NP.ECR> and <REF.NP.ECR REF="NP0050">50</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> However, Article 5(1) of Regulation No 44/2001 covers not only direct contractual obligations but also secondary obligations, such as damages or repayment claims, which replace an unperformed contractual obligation.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0023"><P>See judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">De Bloos</HT></NAME.CASE> (Case <NO.CASE>14/76</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1976:134">EU:C:1976:134</NO.ECLI></REF.DOC.ECR>).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0059"><NO.P>59.</NO.P><TXT>Only recently the Court clarified in this regard in the case of <HT TYPE="ITALIC">Profit Investment SIM</HT> that <QUOT.START CODE="2018" ID="QS0042" REF.END="QE0042"/>actions seeking the annulment of a contract and the restitution of sums paid but not due on the basis of that contract constitute <QUOT.START CODE="201C" ID="QS0043" REF.END="QE0043"/>matters relating to a contract<QUOT.END REF.START="QS0043" CODE="201D" ID="QE0043"/> within the meaning of that provision<QUOT.END REF.START="QS0042" CODE="2019" ID="QE0042"/>,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0024"><P>Judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Profit Investment SIM</HT></NAME.CASE> (<NO.CASE>C‑366/13</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2016:282">EU:C:2016:282</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0058">58</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> and in doing so took into consideration the <QUOT.START CODE="2018" ID="QS0044" REF.END="QE0044"/>causal link between the right to restitution and the contractual relationship<QUOT.END REF.START="QS0044" CODE="2019" ID="QE0044"/>.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0025"><P>Judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Profit Investment SIM</HT></NAME.CASE> (<NO.CASE>C‑366/13</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2016:282">EU:C:2016:282</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0055">55</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0060"><NO.P>60.</NO.P><TXT>This approach can readily be applied to the present case in that, although it does not involve a void contract in the strict sense, it does involve a payment that became an undue payment as a consequence of the judgment for payment ceasing to have effect.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0061"><NO.P>61.</NO.P><TXT>Consequently, the answer to the first part of the third question referred would have to be that the expression <QUOT.START CODE="2018" ID="QS0045" REF.END="QE0045"/>matters relating to a contract<QUOT.END REF.START="QS0045" CODE="2019" ID="QE0045"/> within the meaning of Article 5(1) of Regulation No 44/2001 is to be interpreted as extending to a claim, such as that in the main proceedings, by which a lessee pursues an allegation of unjust enrichment.</TXT></NP.ECR></GR.SEQ><GR.SEQ LEVEL="3"><TITLE><TI><NP><NO.P>2.</NO.P><TXT>Second part of the third question referred</TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0062"><NO.P>62.</NO.P><TXT>The second part of the third question referred applies to the determination of the place of performance of the claim in question.</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0063"><NO.P>63.</NO.P><TXT>As the financial leasing contract at issue in the main proceedings, which is the connecting factor for the claim alleging unjust enrichment, is neither a contract of sale<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0026"><P>On the requirement of the supply of goods, see judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Car Trim</HT></NAME.CASE> (<NO.CASE>C‑381/08</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2010:90">EU:C:2010:90</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0032">32</REF.NP.ECR></REF.DOC.ECR> et seq.).</P></NOTE> nor a contract for the provision of services within the meaning of Article 5(1)(b),<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0027"><P>On the grant of a right to use intellectual property not being a provision of services, see judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Falco Privatstiftung</HT></NAME.CASE> (<NO.CASE>C‑533/07</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2007:257">EU:C:2007:257</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0029">29</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> in the present case the place of performance is determined pursuant to Article 5(1)(c) in conjunction with subparagraph (a), that is to say on the basis of the national law applicable to the claim in question.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0028"><P>See judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Tessili/Dunlop</HT></NAME.CASE> (Case <NO.CASE>12/76</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1976:133">EU:C:1976:133</NO.ECLI>, paragraphs <REF.NP.ECR REF="NP0013">13</REF.NP.ECR> and <REF.NP.ECR REF="NP0015">15</REF.NP.ECR></REF.DOC.ECR>); on the application of that case-law to Article 5(1)(a) of Regulation No 44/2001 see judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">Falco Privatstiftung</HT></NAME.CASE> (<NO.CASE>C‑533/07</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:2007:257">EU:C:2007:257</NO.ECLI>, paragraph <REF.NP.ECR REF="NP0047">47</REF.NP.ECR></REF.DOC.ECR> et seq.).</P></NOTE></TXT></NP.ECR><?PAGE NO="11"?><NP.ECR IDENTIFIER="NP0064"><NO.P>64.</NO.P><TXT>Since, in the case of secondary claims, the case-law regards as material the obligation whose non-performance is put forward to support the claims,<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0029"><P>See judgment in <REF.DOC.ECR><NAME.CASE><HT TYPE="ITALIC">De Bloos</HT></NAME.CASE> (Case <NO.CASE>14/76</NO.CASE>, <NO.ECLI ECLI="ECLI:EU:C:1976:134">EU:C:1976:134</NO.ECLI>, paragraphs <REF.NP.ECR REF="NP0013">13</REF.NP.ECR> and <REF.NP.ECR REF="NP0014">14</REF.NP.ECR></REF.DOC.ECR>).</P></NOTE> it would seem appropriate to take into account the place of performance of the original (alleged) payment obligation also in the case of the unjust enrichment claim alleging undue payment. To the same effect are the rules expressed in Article 12(1)(e) of the Rome I Regulation, which also make the consequences of a failed contract (such as its rescission) subject to the law applicable to the contract.<NOTE TYPE="FOOTNOTE" NUMBERING="STAR" NUMBERING.CONTINUED="YES" NOTE.ID="E0030"><P>See in this regard paragraph 46 above and Rauscher/Leible, <HT TYPE="ITALIC">EuZPR/EuIPR</HT> (2011), paragraph 30 with further references.</P></NOTE></TXT></NP.ECR><NP.ECR IDENTIFIER="NP0065"><NO.P>65.</NO.P><TXT>Consequently, the answer to the second part of the third question referred would have to be that the place of performance of the obligation within the meaning of Article 5(1)(a) of Regulation No 44/2001 would have to be determined by applying the provisions of national law that are applicable for the performance of the original contractual payment liability which is now being reclaimed.</TXT></NP.ECR></GR.SEQ></GR.SEQ></GR.SEQ><GR.SEQ LEVEL="1"><TITLE><TI><NP><NO.P><HT TYPE="BOLD">V –</HT></NO.P><TXT><HT TYPE="BOLD">Conclusion</HT></TXT></NP></TI></TITLE><NP.ECR IDENTIFIER="NP0066"><NO.P>66.</NO.P><TXT>In the light of the foregoing considerations, since only the first question referred for a preliminary ruling is of relevance to the national court’s decision, I propose that the Court should give the following reply to the questions referred:</TXT></NP.ECR><NP.ECR IDENTIFIER="NP0067"><NO.P>67.</NO.P><TXT>The expression <QUOT.START CODE="2018" ID="QS0046" REF.END="QE0046"/>counterclaim arising from the same contract … on which the original claim was based<QUOT.END REF.START="QS0046" CODE="2019" ID="QE0046"/> within the meaning of Article 6(3) of Regulation No 44/2001 extends also to a claim, brought after a judgment delivered in proceedings on the present defendant’s original claim that had become final and enforceable was set aside and the case referred back to the court of first instance for rehearing, by which the present applicant, claiming on the basis of unjust enrichment, seeks reimbursement of an amount which he paid on the basis of the judgment delivered in the original proceedings and subsequently set aside.</TXT></NP.ECR></GR.SEQ></CONTENTS.CONCLUSION></CONCLUSION>