Plaintiff-appellant Heriberto Silva brought suit in the District of Puerto Rico against his employer, Encyclopedia Britannica, Inc. and Encyclopedia Britannica U.S.A. (collectively “Britannica”), for breach of contract. The contract, which granted appellant commissions for selling products manufactured by Britannica; contained the following choice-of-law and forum-selection clause: “This agreement shall be governed and construed by the laws of the State of Illinois and all actions involving this agreement must be brought in the State of Illinois.” The district court concluded that the forum-selection clause was valid, enforceable and mandatory and dismissed the suit without prejudice. For the reasons set forth below, we affirm.
DISCUSSION
The prevailing view towards contractual forum-selection clauses is that “such clauses are prima facie valid and should be enforced unless enforcement is shown by the resisting party to be ‘unreasonable’ under the circumstances.”
M/S Bremen v. Zapata Off-Shore Co.,
A.
Shortly after commencement of this suit, Britannica filed a motion to dismiss for lack of subject-matter jurisdiction against all plaintiffs except Silva. 2 See Fed.R.Civ.P. 12(b)(1). The court granted the motion as to these plaintiffs, and discovery continued with respect to only Silva’s claims. Over a year later, Britannica filed the motion to dismiss which is the subject of this appeal. Appellant argues that by failing to consolidate this defense with its initial 12(b) motion against the other plaintiffs, Britannica was barred from raising the issue later by Fed. R.Civ.P. 12(g), which reads:
A party who makes a motion under this rule may join with it any other motions herein provided for and then available to the party. If a party makes a motion under this rule but omits therefrom any defense or objection then available to the party which this rule permits to be raised by motion, the party shall not thereafter make a motion based on the defense or objection so omitted, except a motion as provided in subdivision (h)(2) hereof on any of the grounds there stated.
Silva claims that for the same reason, Britannica has waived its defense under Fed. R.Civ.P. 12(h)(1)(A), which states that “[a] defense of lack of jurisdiction over the person, improper venue, insufficiency of process, or insufficiency of service of process is waived if omitted from a motion in the circumstances described in subdivision (g).”
Appellant misconstrues the law of this Circuit, under which a motion to dismiss based upon a forum-selection clause is treated as one alleging the failure to state a claim for which relief can be granted under Fed.R.Civ.P. 12(b)(6).
3
*388
Lambert,
Accordingly, a motion to dismiss based on a forum-selection clause may be raised at any time in the proceedings before disposition on the merits.
Cf. Brown v. Trustees of Boston Univ.,
B.
We next turn to whether the language of the forum-selection clause is permissive or mandatory. To support his contention in favor of the former, appellant cites our recent opinion in
Autoridad De Energía Eléctrica De Puerto Rico v. Ericsson Inc.,
Our holding in
Ericsson
did not create a general rule for forum-selection clauses, as Silva intimates in his brief. Rather, we based our conclusion on the specific language of the contract at issue. In fact, we explicitly noted that had they so desired, the parties “could easily have drafted the contract to provide for exclusive jurisdiction in the Commonwealth courts.”
6
Id.
at 19. The contract here
*389
reflects precisely such a case: the word “must” expresses the parties’ intention to make the courts of Illinois the exclusive forum for disputes arising under the contract.
See Zapata,
C.
Since the motion to dismiss was timely raised and the clause is mandatory, we will uphold the district court’s decision unless “enforcement would be unreasonable and unjust, or ... the clause [is] invalid for such reasons as fraud or overreaching.”
Zapata,
First, that the forum-selection clause is a “boilerplate” provision does not
ipso facto
render it invalid. “It is not the law that one must bargain for each and every written term of a contract.”
Lambert,
CONCLUSION
The order of the district court is affirmed.
Notes
. As the district court noted, there is no conflict between federal common law and Puerto Rico law regarding the enforceability of forum-selection clauses.
See Stereo Gema, Inc. v. Magnadyne Corp.,
. The original complaint was filed by Silva and sixteen other former independent contractors employed by Britannica. The court dismissed the fifteen remaining plaintiffs for failing to meet the required amount in controversy for diversity jurisdiction. See 28 U.S.C. § 1332(a).
. This is only one of the variegated views among the circuits concerning the appropriate vehicle for a motion to dismiss based on a forum-selection clause. The Third Circuit joins this Court in characterizing the motion as a Rule 12(b)(6) defense,
see Instrumentation Assocs., Inc. v. Madsen Elecs. (Canada) Ltd.,
. For this reason, we do not address whether Britannica was required to join its defenses against all plaintiffs into a single motion.
. We do not consider Britannica’s assertion that it raised this defense in its answer to appellant’s complaint.
. We emphasize, however, that even a mandatory forum-selection clause does not in fact divest a court of jurisdiction that it otherwise retains.
See Zapata,
