This is a bill in equity brought to prevent the State Corporation Commission of New Mexico from suspending the right of the plaintiff to do business in that State. A final decree was entered by which it was declared that the defendants intend to suspend that right 'for the sole
[270 U.S. 426, 433]
reason that the plaintiff has made payments to its agents in states other than New Mexico in connection with the procurement of business made, written and placed by the plaintiff in New Mexico'; that such payments are unlawful by virtue of section 2820 of the New Mexico Code of 1915, as amended by chapter 195 of the Laws of 1921, and that the section so far as it makes such payments unlawful and authorizes the suspension because of this is constitutional. On this ground the bill was dismissed. The plaintiffs contending that the statute as construed and applied is contrary to the Fourteenth Amendment appealed to this Court.

The statute in question, s 2820 of the Code of 1915 as amended in 1921, purports to make it 'unlawful for any insurance company authorized to do business in New Mexico ... to pay, ... either directly or indirectly, and fee, brokerage or other emolument of any nature to any person, firm or corporation not a resident of the State of New Mexico, for the obtaining, placing or writing of any policy or policies of insurance covering risks in New Mexico. Any insurance company violating this section shall have its certificates of authority to do business in this State suspended for not less than one year'-the suspension to be removed only upon a written pledge that the section will be observed. This section has been repealed by an act of 1925 (Laws 1925, c. 135), which substitutes the more moderate requirement that the policy must be delivered, the premium collected and the full commission retained by an agent in New Mexico, with authority to that agent to employ a licensed non-resident broker to collect the premiums, etc., and to pay him within limits. The question has been suggested whether this repeal does not require us to dismiss the case. But the Constitution of New Mexico provides that 'no act of the Legislature shall affect the right or remedy of either party ... in any pending case' (art. 4, s 34). It is at least
[270 U.S. 426, 434]
possible that the State Courts might hold that the plaintiff was still liable to lose its license on the old ground. Therefore it seems to us just that we should proceed to deal with the further questions raised, as both parties desire.

It is suggested that the District Court had no jurisdiction because the bill does not allege that the statute is unconstitutional, but only that the statute as construed and applied by the defendants is so. But even if the statute did not plainly purport to justify and require the threatened action, or if the bill fairly taken did not import a denial of the constitutionality of the law as applied to this case, the plaintiff still would be entitled to come into a Court of the United States to prevent such an alleged violation of its constitutional rights. Raymond v. Chicago Traction Co., 28 S. Ct. 7,
207 U.S. 20
, 12 Ann. Cas. 757; Home Telephone & Telegraph Co. v. Los Angeles, 33 S. Ct. 312,
227 U.S. 278
; Cuyahoga River Power Co. v. Akron, 36 S. Ct. 402,
240 U.S. 462
.

Coming then to the merits we assume in favor of the defendants that the State has the power and constitutional right arbitrarily to exclude the plaintiff without other reason than that such is its will. But it has been held a great many times that the most absolute seeming rights are qualified, and in some circumstances become wrong. One of the most frequently recurring instances is when the so-called right is used as part of a scheme to accomplish a forbidden result. Frick v. Pennsylvania, 45 S. Ct. 603,
268 U.S. 473
; American Bank & Trust Co. v. Federal Reserve Bank of Atlanta, 41 S. Ct. 499,
256 U.S. 350
, 358; Badders v. United States, 36 S. Ct. 367,
240 U.S. 391
, 394; United States v. Reading Co., 33 S. Ct. 90,
226 U.S. 324
, 357. Thus the right to exclude a foreign corporation cannot be used to prevent it from resorting to a federal Court, Terral v. Burke Construction Co., 42 S. Ct. 188,
257 U.S. 529
, 21 A. L. R. 186; or to tax it upon property that by established principles the State has no power to tax, Western Union Telegraph Co. v. Kansas, 30 S. Ct. 190,
216 U.S. 1
, and
[270 U.S. 426, 435]
other cases in the same volume and later that have followed it; or to interfere with interstate commerce, Sioux Remedy Co. v. Cope, 35 S. Ct. 57,
235 U.S. 197
, 203; Looney v. Crane Co., 38 S. Ct. 85,
245 U.S. 178
, 188; Western Union Telegraph Co. v. Foster, 38 S. Ct. 438,
247
U.S. 105, 114
, 1 S. A. L. R. 1278. A State cannot regulate the conduct of a foreign railroad corporation in another jurisdiction, even though the company has tracks and does business in the State making the attempt. New York, Lake Erie & Western R. R. Co. v. Pennsylvania, 14 S. Ct. 952,
153
U.S. 628, 646
, 854 S..

The case last cited was one of an attempt to regulate the corporation's payments in another State. By the same principle on even stronger grounds the corporation cannot be prevented from employing and paying those whom it needs for its business outside the State. The difficulty was fully appreciated by the counsel for the appellee and he therefore sought to limit the generality of the words, at least in the case of agents, and to make out that the object was to prevent the use of dummy agents in the State. It was suggested that agents were paid by commissions at well known conventional rates and that the statute meant to forbid the dividing of these commissions, and in that way to prevent the work being done and paid for elsewhere, while nominal agents in New Mexico were paid small sums for the use of their names. In short it is said the purpose was to secure responsible men to represent the company on the spot. But whether such an interpretation would save the act or not it is impossible to limit it in that way. It forbids the payment of any emolument of any nature to any person for the obtaining, placing or writing of any policy covering risks in New Mexico. The words go beyond any legitimate interest of the State, and although the decree is based only on payments to agents it does not declare that the payments thus made prevented the payment of appropriate commissions to the agents in the State nor does the statute limit its prohibition in that way.
[270 U.S. 426, 436]
The determination of the Commission to suspend the plaintiff purported to be based upon a letter written by it in reply to a notice. In this letter it appeared only that agents or branch offices in other states were paid for services of value by commission on such basis as was agreed upon outside of New Mexico, but not that there was in any case a deduction from appropriate commissions inside the State. The threat and the decree, therefore, test the validity of the statute in its extreme application and furnish no ground for an attempt to read it as meaning less than it says. See further Palmetto Fire Insurance Co. v. Beha (D. C. S. D. N. Y., Nov. 10, 1925) 13 F. (2d) 500; St. Louis Compress Co. v. Arkansas, 43 S. Ct. 125,
260 U.S. 346
.

Decree reversed.

The separate opinion of Mr. Justice McREYNOLDS.

This cause was begun January 8, 1924. Defendants were the members of the State Corporation Commission and the bank examiner. Section 2814, Code of New Mexico 1915, forbade the carrying on of business within the state by any insurance company 'unless it shall procure from the superintendent of insurance a certificate stating that the requirements of the laws of this state have been complied with, and authorizing it to do business.' These certificates expired annually on the last day of February. In 1921 the powers and duties of the superintendent of insurance were transferred to the bank examiner under general control and supervision of the Corporation Commission.

Section 2820 of the Code, as amended, provided that no foreign insurance company shall transact business in the state except through duly appointed resident agents; declared it unlawful to pay any emolument to a nonresident for obtaining policies covering risks therein; and authorized the exclusion of any company which failed to observe this inhibition.
[270 U.S. 426, 437]
The bill alleges that although the complainant had been duly licensed to transact business in New Mexico for many years defendants were threatening to suspend the license therefor because of supposed violations of section 2820. It asks a decree declaring that section unconstitutional in so far as payments to nonresidents for procuring insurance were prohibited; and that defendants be restrained from attempting to revoke or refusing to renew the license certificate.

The act effective March 20, 1925, codified the insurance laws of the state; expressly repealed former statutes regulating the business; transferred the powers of the bank examiner to the corporation commission, and charged the superintendent of the department of insurance with general administration of the law. It sets up an entirely new system of control and contains no provision concerning payments to outside agents like the one challenged by complainant. It provides:

'Upon the application of any insurance company for a license to transact an insurance business in the state of New Mexico, the superintendent shall immediately satisfy himself that the said company ... has ... complied with all the ... requirements of this act, and shall thereupon be obligated to issue a license to the said company authorizing it to transact the forms of insurance permitted under its articles of incorporation and authorized under this act for any one insurance company to transact.' Section 70.

The bill questions the validity of a statute which was repealed in 1925. There is no effective remedy which this or any other court can now grant under its allegations and prayers. The cause has become moot and should be treated accordingly.