This case presents issues concerning the application of United States employment discrimination laws to an international employment relationship in which the parties agreed to application of United States law. Plaintiff-appellant Laurence Rabé, a French citizen, worked as a flight attendant out of the Hong Kong and Paris bases of United Air Lines. Rabé’s employment contract provided that it would be governed exclusively by “applicable United States law” and that only courts and administrative bodies of the United States and Illinois could hear disputes relating to her terms of employment. When the company fired her for alleged misconduct, she sued in the United States District Court claiming that United had discriminated against her on the basis of her national origin, age, and sexual orientation in violation of Title VII of the Civil Rights Act of 1964, 42 U.S.C. § 2000e-2, the Age Discrimination in Employment Act, 29 U.S.C. § 623, and the Illinois Human Rights Act, 775 ILCS 5/1-102, 5/2-102. The district court dismissed the case, concluding that it lacked subject matter jurisdiction because Rabé is a foreign national who worked for United abroad.
We reverse the judgment and remand for further proceedings. First, whether Rabé worked in the United States is an issue affecting the merits of her claims but not the district court’s subject matter jurisdiction. We also conclude that the parties’ employment contract had the effect of applying the substantive provisions of United States and Illinois employment discrimination laws to Rabé as a matter of contract law. Finally, Rabé’s claims are not precluded or preempted by the Railway Labor Act. We offer no comment on the merits of Rabé’s claims except to say that she is entitled to try to prove them on the merits.
I. Plaintiffs Employment with United Air Lines
United hired Rabé in November 1993 to work in France out of the company’s Paris hub. She signed an individual employment contract at United’s headquarters in Chicago, Illinois. The contract specified that her work would “be performed on board United’s aircraft registered in the USA as they operate on routes throughout the Company’s worldwide system,” and that the aircraft would “constitute the establishment where” she performed her employment. The individual contract also required Rabé to join the Association of Flight Attendants, the American labor union that represents United flight attendants.
The contract provided in articles 5 and 6 that “the terms and conditions” of Rabé’s employment would “be governed exclusively by applicable United States law, including the Railway Labor Act and the AFA [collective bargaining] agreement,” and that jurisdiction over all employment-related claims would lie exclusively in courts and administrative bodies of the United States and Illinois. The individual contract even said that it would not be valid unless Rabé wrote by hand: “Read and approved, valid for agreement and in particular for acceptance of the choice of U.S. law clause (article 5) and of the jurisdiction clause (article 6).”
United transferred Rabé to its Hong Kong base in 1997. According to her complaint, ninety percent of her flights were to or from United States destinations until May 2002, when she took a voluntary furlough from the company. United recalled Rabé from the furlough in August 2005. Still based in Hong Kong, she worked only flights between Asian airports before things went sour between her and United in 2007. According to Rabé, who is a *869 lesbian, her new supervisor once told her that he believed it is “not right to be gay” and made comments suggesting that he suspected she is a lesbian. In September 2007, the supervisor initiated an investigation of Rabé for allegedly misusing company-issued travel vouchers. Rabé contends that the investigation was a pretext for the supervisor to fire her for invidious reasons. At the end of the investigation in April 2008, United fired Rabé, who was then 40 years old.
II. Proceedings in the District Court
Rabé filed this lawsuit in October 2008, and United moved to dismiss for lack of subject matter jurisdiction under Rule 12(b)(1) of the Federal Rules of Civil Procedure. United argued that Title VII and the ADEA do not apply to non-citizens working outside the United States and that the Illinois Human Rights Act does not apply to work outside Illinois. Alternatively, United argued that Rabé’s claims are precluded (or preempted in the case of the state law claim) by the Railway Labor Act, 45 U.S.C. §§ 151-188. The district court dismissed Rabé’s complaint for lack of subject matter jurisdiction, reasoning that United States employment discrimination laws do not apply to her because she did not spend significant time working in Illinois or elsewhere in the United States. The court did not reach United’s argument that the Railway Labor Act precluded or preempted plaintiffs claims.
III. Subject Matter Jurisdiction
On appeal the parties continue to frame the question as whether the district court had subject matter jurisdiction over Rabé’s claims. That is not correct. As the parties agree, the protections of Title VII and the ADEA do not generally extend to aliens who work outside the United States. See 42 U.S.C. § 2000e-1(a);
Shekoyan v. Sibley Int'l,
The Supreme Court has held that the closely related question whether an employer has enough employees to be subject to Title VII is a matter for the merits rather than a requirement for subject matter jurisdiction.
Arbaugh v. Y & H Corp.,
*870
Rabé alleged and supported with evidence substantial
(i.e.,
non-frivolous or colorable) claims for coverage directly under Title VII and the ADEA. Even if those claims are not successful on the merits because her work for the last several years of her employment was not in the United States, they were substantial enough to give the district court subject matter jurisdiction over the case, including supplemental jurisdiction over the state law claim. See,
e.g., Greater Chicago Combine and Center, Inc. v. City of Chicago,
IV. The Merits and Choice of Employment Law
Because United’s motion was an attack on the merits of Rabé’s claims rather than the district court’s jurisdiction to hear her case, the court should have treated it as a motion to dismiss for failure to state a claim under Rule 12(b)(6). See
Miller v. Herman,
We do not disagree with the district court’s conclusion that Rabé did not spend sufficient time working in the United States or traveling to and from the United States in the last several years before her termination to qualify as being employed in the United States for purposes of Title VII and the ADEA. We express no view as to whether the fact that she worked on aircraft registered in the United States might be sufficient to apply United States employment law. We conclude, however, that the district court should have denied United’s motion to dismiss on the basis of Rabé’s individual employment contract, which was attached to her complaint. The contract specifies that “the terms and conditions” of Rabé’s employment would “be governed exclusively by applicable United States law.”
United concedes that the district court was free to “apply the substantive law of Title VII, the ADEA, [and] the IHRA.” United insists, nevertheless, that Rabé cannot prevail because those statutes are not “applicable” to her, precisely because she is a non-citizen who worked outside the United States. The argument *871 proves far too much. United demanded that the employment relationship be governed exclusively by United States law. Under United’s theory, Rabé would not be protected by the employment discrimination laws of any country. We understand the impulse to make an explicit choice of law in a contract when the parties’ international relationship could result in prolonged and expensive arguments about choice of law in the event of a dispute. That is as true for employment contracts as it is for sophisticated business-to-business contracts. But we see no reason to interpret a contractual choice-of-law provision as effectively excluding the employee from the protection of public laws and policies as fundamental as those embodied in employment discrimination laws. 2
Instead, we view this case as more comparable to our decision in
Peters v. Gilead Sciences, Inc.,
In this case, the international character of the parties’ employment relationship could pose serious complications and uncertainties. Litigating the relevant employment location for employees who work in international transportation can be complicated and expensive, as shown by this case and others. See,
e.g., Mithani v. Lehman Bros., Inc.,
United chose to address these complications and uncertainties with a contract that required the employee to agree to be governed by United States law. Rabé agreed *872 to the terra, as reflected not only by her signature but also by the required handwritten note saying that she accepted the choice of United States law and the choice of forum. The most reasonable interpretation of this employment agreement is that United agreed to application of the substance of United States law notwithstanding provisions that would otherwise point against its coverage because of Rabé’s status as an alien and the changing locations of her work. Rabé has stated claims for relief sufficient to withstand United’s motion to dismiss. 3
As we explained above, the district court had subject matter jurisdiction under its federal question jurisdiction because plaintiff has asserted a colorable claim for coverage directly under the terms of the federal statutes, and on remand the court will have supplemental jurisdiction over the implicit state law claims for breach of contract and/or promissory estoppel. (We recognize that Rabé’s complaints have not articulated breach of contract and promissory estoppel theories. A complaint need not identify legal theories, and specifying an incorrect theory is not a fatal error.
E.g., Williams v. Seniff,
V. The Railway Labor Act
Finally, we conclude that the Railway Labor Act is not an obstacle to Rabé’s claims. The RLA provides, among other things, a mandatory and exclusive arbitral mechanism for “minor” disputes between air carriers and their employees. See
Hawaiian Airlines, Inc. v. Norris, 512 U.S.
246, 248, 252-53,
If that were an accurate description of Rabé’s claims, we would agree that her *873 claims are preempted, but it is not. She asserts rights that are independent of the collective bargaining agreement. They arise from her individual employment contract with United, which we have discussed above, and in which United and she agreed that their relationship should be governed by United States law, including, as we view it, federal employment discrimination laws.
RLA preemption might still apply if Rabé’s claims could not be resolved without construing the collective bargaining agreement and therefore intruding into the RLA’s federal mechanism for interpreting and enforcing collective bargaining agreements in the railroad and airline industries. See
Hughes v. United Air Lines, Inc.,
The principal focus here is on United managers’ subjective reasons for terminating Rabé’s employment. Rabé alleges that she was treated differently than other employees who were similarly situated in terms of their use of company travel vouchers. Second Am. Cmplt. ¶ 24. Given the nature of Rabé’s discrimination claims, their resolution does not appear likely to require the court to interpret the collective bargaining agreement “as a potentially dispositive matter.” See
Brown,
We Reverse the judgment of the district court and Remand for further proceedings on the merits of Rabé’s Title VII, ADEA, and Illinois Human Rights Act claims, re-characterized as claims for breach of contract and/or promissory estoppel.
Notes
. The district court’s treatment of the coverage issue as one of subject matter jurisdiction was consistent with the Supreme Court’s ap
*870
proach in
EEOC v. Arabian American Oil Co.,
which affirmed a dismissal for lack of subject matter jurisdiction based on the plaintiff's foreign work location. See
. Our approach is consistent with that of the Restatement (Second) of Conflict of Laws § 187(3) (1971), which teaches that when parties choose the law of a state to govern their contractual rights and duties, "[i]n the absence of a contrary indication of intention, the reference is to the local law of the state of the chosen law,” meaning it does not include the chosen state’s choice-of-law rules. To interpret such provisions as including the choice-of-law rules of the chosen state “would introduce the uncertainties of choice of law into the proceedings and would serve to defeat the basic objectives, namely those of certainty and predictability, which the choice-of-law provision was designed to achieve.”
Id..,
comment (h). Courts have repeatedly rejected arguments similar to United’s seeking to confuse application of contractual choice-of-law provisions by having them refer to the chosen state's choice-of-law rules.
E.g., Chan v. Society Expeditions, Inc.,
. We refer to the substance of applicable law because not all of the procedures of Title VII and the ADEA could be required as a matter of contract law. In particular, the requirement that a complaining party exhaust administrative remedies by filing a charge with the Equal Employment Opportunity Commission or a parallel state or local agency could not be imposed as a matter of contract. The parties could not require the EEOC or other agency to investigate a charge beyond the scope of its statutory authority. We also do not address here the possibility that another nation could find that an employment contract purporting to waive application of that nation’s laws should not be enforced as a matter of public policy if the parties had a sufficient relationship with that nation.
