Appellee National Surety Corporation (“National”) was the surety on a payment bond executed in compliance with the Miller Act, 40 U.S.C. § 270a, et seq., guaranteeing payment to suppliers of labor and materials for a federal construction project at Fort Peck, Montana. Appellant K-W Industries (“K-W”) alleges that after the general contractor refused to pay for materials K-W delivered for use on the Fort Peck project, K-W made a claim against National on the bond for payment. When National allegedly refused to pay the claim, K-W sued National in the United States District Court for the District of Montana.
After K-W and National settled the federal court action, K-W instituted the present action against National in Montana state court. K-W alleges that National acted in bad faith in refusing to pay K-W’s claim and in forcing it to bring the federal court action, and seeks compensatory and punitive damages under Montana’s unfair insurance claims practices law. Mont. Code Ann. § 33-18-201. After National removed to federal district court on the basis of diversity jurisdiction,
see
28 U.S.C. § 1441(a), the district court
sua sponte
dismissed the action for lack of subject matter jurisdiction. The court reasoned that although K-W pleaded its claim against National as founded upon state law, the claim was properly characterized as a federal claim predicated on the rights conferred upon K-W by the Miller Act. In essence, the district court determined that Congress intended to limit claimants such as K-W to remedies provided by the Miller Act, thereby preempting the application of Montana’s unfair insurance claims practices law to sureties of Miller Act bonds. From this premise it followed that, because federal courts are vested with exclusive jurisdiction over Miller Act claims, 40 U.S.C. § 270b, the district court was required to
*642
dismiss the action. As the district court correctly noted, a state court’s lack of subject matter jurisdiction deprives the federal court of removal jurisdiction, which is derivative.
See Franchise Tax Board v. Construction Laborers Vacation Trust,
After the case was argued, we certified, pursuant to Mont.R.App.P. 44, two threshold questions of state law to the Montana Supreme Court for decision. The Montana Supreme Court decided these questions as follows: First, the court rejected National’s contention that surety insurance was not covered by Montana’s unfair insurance claims practices law, Mont.Code Ann. § 33-18-201.
K-W Indus. v. National Surety Corp.,
Now that the Montana Supreme Court has determined that section 33-18-201 subjects sureties to liability beyond the amount of the bond for unfair insurance claims practices, we must decide whether application of section 33-18-201 law to sureties of Miller Act bonds is preempted by the Miller Act.
National argues that state law subjecting sureties to tort liability for bad faith insurance practices conflicts with the purposes of the Miller Act in that it “stands as an obstacle to the accomplishment and execution of the full purposes and objectives of Congress.”
3
Michigan Canners & Freezers Ass’n, Inc. v. Agricultural Marketing and Bargaining
Bd.,
The purpose of the Miller Act “is to protect persons supplying materials and la
*643
bor for federal projects.”
4
United States ex rel. Martin Steel Constructors, Inc. v. Avanti Constructors, Inc.,
National’s reliance upon
F.D. Rich Co. v. United States ex rel. Industrial Lumber Company,
In conclusion, we hold that application of Montana’s unfair insurance claims practices law to Miller Act sureties is not preempted by the Miller Act. Accordingly, because K-W’s action arises under state *644 law, not under the Miller Act, the Montana state court in which this action was originally filed had subject matter jurisdiction. The district court thus erred in dismissing the action for lack of removal jurisdiction.
REVERSED.
Notes
. The removal statute was amended in 1986 to provide that for actions commenced in state courts on or after June 19, 1986, "[t]he court to which such civil action is removed is not precluded from hearing and determining any claim in such civil action because the State court from which such civil action is removed did not have jurisdiction over that claim.” Pub.L. No. 99-336, § 3(a), 100 Stat. 637 (codified as amended at 28 U.S.C. § 1441(e)).
. Mont.Code Ann. § 28-11-411 provides that "[a] surety cannot be held beyond the express terms of his contract, and if such contract prescribes a penalty for its breach, he cannot in any case be liable for more than the penalty.”
. The Supreme Court has outlined three ways in which a federal law may preempt state law: the federal law may do so expressly; it may reflect a Congressional intent to occupy the entire legal field in the area; or the state law may conflict with the federal law, either directly in that it is not possible to comply with both, or indirectly in that the state law is an obstacle to the accomplishment of the federal objective.
See Michigan Canners & Freezers Ass’n, Inc. v. Agricultural Marketing and Bargaining Bd.,
.Suppliers of material on construction projects ordinarily acquire a mechanic’s lien on the real property involved to secure payment. Because such a lien cannot attach to federal property, the Miller Act's bond requirement was designed to substitute for this common law remedy.
See F.D. Rich Co.
v.
United States ex rel. Industrial Lumber Co.,
. In
Sunworks,
the Tenth Circuit held that a supplier could pursue an action in quantum meruit against a general contractor regardless of the availability of a Miller Act remedy against the contractor’s surety.
. National’s reliance on
United States ex rel. General Electric v. Minority Electric Company,
