3148. In personal actions of a patrimonial nature, a Québec authority has jurisdiction where(1) the defendant has his domicile or his residence in Québec;
(2) the defendant is a legal person, is not domiciled in Québec but has an establishment in Québec, and the dispute relates to its activities in Québec;
(3) a fault was committed in Québec, damage was suffered in Québec, an injurious act occurred in Québec or one of the obligations arising from a contract was to be performed in Québec;
(4) the parties have by agreement submitted to it all existing or future disputes between themselves arising out of a specified legal relationship;
(5) the defendant submits to its jurisdiction.
However, a Québec authority has no jurisdiction where the parties, by agreement, have chosen to submit all existing or future disputes between themselves relating to a specified legal relationship to a foreign authority or to an arbitrator, unless the defendant submits to the jurisdiction of the Québec authority.