Opinion op the Court by
Judge CarrollAffirming.
The question for decision in this case is this: Is it a good defense to an action brought in a State court by a foreign corporation to enforce the collection of the amount due on a contract entered into in the execution of its business here engaged in, that it has not complied with section 571 of the Kentucky Statutes reading: •
“All corporations except foreign insurance companies formed under the laws of this or any other State, and carrying on any business in this State, shall at all times have one or more known places of business in this State, and an authorized agent or agents thereat, upon whom process can be served; and it shall not be lawful for any corporation to carry on any business in this State until it shall have filed in the office of the Secretary of State a statement, signed by its president or secretary, giving the location of its office or offices in this State, and the name or names of its agent or agents thereat upon whom process can be served; and when any change is made in the location of its office or offices, or in its agent or agents, it shall at once file with the Secretary of State a statement of such change; and the former agent shall remain agent for the purpose of service until a statement of appointment of the new agent is filed; and if such corporation fails to comply with the requirements of this section, such corporation and any agent or employe or such corporation, who shall transact, carry on or conduct any business in this State, for it, shall be severally guilty of a misdemeanor, and *631fined not less than one hundred nor more than one thousand dollars for each offense.”
The Oliver Company is a Tennessee corporation and entered into a contract with the Louisville Realty Association to do certain work for it in the construction of a building by the latter company in the city of Louisville, Kentucky. The contract fixed the compensation that should be paid to the Oliver Company for the work it agreed to do, but during the progress of the work certain changes were made in the specifications, and as a result of differences arising between the parties to the contract as to the amount that should be paid, this suit was brought by the Oliver Company to recover from the Realty Company the sum it claimed was due it on the contract.
To this suit several defenses were made going to the merits of the claim asserted by the Oliver Company, hut the issues arising on the merits of the controversy we do not find it necessary to discuss. The only question that we need concern ourselves with is the sufficiency of the defense relied on by the Realty Company that the Oliver Company could not maintain the action because it had failed to comply with the statute quoted. The lower court ruled that the failure of the Oliver Company to observe the requirements of this statute denied it the right to maintain the action, and dismissed its suit, and in the correctness of this decision we concur.
It will be observed that this statute expressly provides that it shall not be lawful for any corporation to carry on any business in this State until it shall have observed the requirements of the section, and further subjects to a penalty any corporation undertaking to transact, carry on or conduct any business in this State without observing the section, although it does not in terms declare that any contract made by a corporation before complying with the statute shall be void or not enforceable.
The fact, however, that the statute does not expressly declare that contracts made before complying with the section shall be void or not enforceable, does not weaken the effect of the statute as a prohibition against the enforcement of contracts made by a corporation m violation of the statute. In other words, the declaration of the statute that it shall not be lawful for any corporation to carry on any business in this State until it *632shall have observed the requirements of the statute, and the imposition of a penalty for engaging in business in violation of it, has the same effect and accomplishes the same end as if the statute had expressly declared the invalidity of contracts made without observing its conditions. Upon this point we may repeat what was said in the case of Fruin-Colnon Contracting Co. v. Chatterson, 146 Ky., 504, where this question was discussed:
• “The statute does not provide that contracts entered into before it has been complied with shall be void or non-enforceable, nor does it use any language in reference to the contract; but, when a statute makes it unlawful to do business under certain conditions, it seems to necessarily and logically follow that the doing of the business under the prohibited conditions is in itself unlawful. When the doing of the act is made unlawful, there is no reason why the statute should also declare that contracts made in violation of it should also be unlawful. When the law prohibits a thing, it is unlawful to do it, and the courts should not lend their aid to the enforcement of prohibited contracts. Courts are established to afford remedies to litigants who seek relief growing out of lawful transactions, and not to aid those who would invoke their assistance to enforce contracts made in violation of law. Their chief purpose is to secure the observance of laws enacted for the safety and protection of life and property, and the general well-being of the people, and it would be a startling departure from this purpose if they should also give relief to parties who were seeking to enforce contracts made in violation of law. Such a course of procedure would be a perversion of justice and convert the courts into instruments to aid law-breakers in place of punishing them.”
The principle thus announced is supported by abundant authority for it is a generally prevailing rule that a contract is void if prohibited by statute, though the statute only inflicts a penalty and does not in terms declare illegal contracts made in violation of it. Lindley v. Rutherford, 17 B. Mon., 246; Vanmeter v. Spurrier, 94 Ky., 22; Harris v. Runnels, 12 Howard, U. S., 78, 13 L. Ed., 901; Wilson v. Spencer, 1 Rand., 76 (Va.), 10 Am. Dec., 491; Harrison v. Berkley, 1 Strobhart's Law, (S. C.) 525, 47 Am. Dec., 578; Woods v. Armstrong, 54 Ala., 150, 25 Am. Rep., 671; Columbia Bank & Bridge *633Co. v. Haldeman, 7 W. & S., 233, (Pa.) 42 Am. Dec., 229; Roby v. West, 4 N. H., 285, 17 Am. Dec., 423, and Levison v. Boas, 150 Cal., 185, 12 L. R. A. (n. s.), 575.
But passing this a vigorous assault is made on the decision of the lower court denying to the Oliver Company the right to maintain the action it had instituted, and it is earnestly pressed on our attention that the statute should not be so construed as to prohibit a corporation that had failed to comply with the statute from bringing suit to enforce contracts made in the prosecution of its business in this State. The argument is made that persons who make otherwise valid contracts with foreign corporations should be estopped to deny the right of the corporation to enforce them.
It is of course at once apparent that the effect of such a construction of this statute would be to destroy the life and vigor of the feature' of it now under consideration. So construed it would virtually have no meaning or effect at all. It would be to say in substance to a corporation: “It is true the statute expressly prohibits you from doing business in this State until you have complied with its simple provisions,, hut if it does not suit your convenience or your interest to do so, your failure will not prejudice any rights that you may have. If you choose to observe these requirements, well and good, but if you don’t, you can yet carry on any business you please and make as many contracts as you wish and the courts of the State are open to your pleas, and, notwithstanding your dereliction of duty and your violation of law, will afford you all the remedies that could be afforded if you had seen proper to observe the statute.”
If corporations may thus lightly treat the laws of this State, if they may ignore them at their pleasure, and comply with them or not as suits their convenience, free from any of the civil disabilities imposed by the statute, the legislature of the State might as well cease the enactment of laws intended to protect the people of the State in their dealings with corporations. The statute, as may be readily seen, does not impose any harsh or unreasonable conditions. A literal compliance with its simple requirements is both easy and inexpensive, and no good reason can be assigned why a corporation undertaking to do business in the State should not be obliged to observe its provisions. It is a useful statute and was intended as a police regulation for the pro*634lection of the people of the State who have a right to know whether the party they are dealing with is an individual or a corporation.
It is a notorious fact that the country is full of corporations engaged in every imaginable line of business, with their agents going here and there and everywhere and many of the people dealing with them do not know where the home of the corporation is, or if they do know, would find it impracticable to seek relief by suits in foreign jurisdictions. Except for this statute they would not, in many instances, know on whom process could be served or in what county a suit against the corporation could be brought, and thus, in many cases, would be left virtually remediless. To relieve in a meas-use the disadvantages our citizens as a result of this condition were placed under in their dealings with corporations, the legislature undertook in this statute to say that when a corporation, whether foreign or domestic, desired to engage in business in this State, it should at all times have an agent at a known place of business in this State upon whom process could be served and to whom the citizens of the State might look if it became necessary to seek redress in the courts of the State; so that any citizen desiring to institute an action against a corporation might, by writing to the Secretary of State, learn who and where its agent was and where its place of business was, and thus be able to secure such relief as the circumstances of the case seemed to demand.
So universally recognized is the wisdom and propriety of this character of legislation that every State in the Union, save possibly two, have adopted statutes in substance the same as ours, and the courts of these different States, as we will presently point out, have, with few exceptions, given to these salutary statutes the same construction and the same meaning and effect that we have.
As said by the United States Circuit Court of Appeals in Pittsburgh, etc., Co. v. West Side Belt Ry. Co., 154 Fed., 929, in speaking of a like statute: “This act is a salutary one, for the protection of persons transacting business with foreign corporations. The facility with which irresponsible corporations are created, frequently with no assets within the jurisdiction where business is transacted, would frequently leave creditors without any chance whatever of collecting their claims *635were it not for acts requiring registration where business is transacted. This enables the creditors to bring the foreign corporation within the jurisdiction of the courts where the obligations are created; and, in order that the provisions of those laws may be complied with, it is necessary that they should receive a reasonably strict enforcement.”
The purpose of the statute is also well expressed by the Supreme Court of Pennsylvania in Delaware, etc., Co. v. Bethlehem, etc., Ry. Co., 204 Pa., 22, where the court said: “The purpose of the act is to bring foreign corporations doing business in this State within the reach of legal process. This purpose is not accomplished by a registration of the corporation at the pleasure of its officers, or when it may be to their interest to appeal to our courts. The act is for the protection of those with whom it does business, or to whom it may incur liability by its wrongful acts; and nothing short of a registration before the contract that it seeks to enforce is made can give it a right of action. Any other construction of the act would violate its plain words and wholly defeat its object by affording protection to the corporation and denying it to the public. ’ ’
It may further be observed that the effect of allowing the plea of estoppel would be to defeat one of the chief purposes of the statute. Por example, if every person who made a contract with a corporation should be denied the right to set up, when sued by the corporation, the defense that when making the contract it acted in violation of law, instances would be very rare in which the statute could be effectively interposed and the corporation punished for failing to observe it. There are few eases in which business transactions are not directly conducted between the parties affected, or others acting for them, and it is manifest that if the party within the law-should be estopped to make the defense that the other party was without the law, the party who was guilty of violating the law would feel assured that his violation would not subject him to any disadvantage. In short, if the statute is to be given effect, the doctrine of estoppel should not be applied.
So apparent is the fact that the adoption of the doctrine of estoppel would virtually nullify the purpose of the statute, that the authorities generally refuse to assent to it, although the failure to apply this rule may *636in some cases work a hardship on the delinquent corporation.
It is equally plain that the fact that the enforcement of the statute may work hardships on corporations that fail to obey it and sometimes prevent them from collecingjust debts, cannot, without ignoring the legislative intent, be allowed to defeat the object sought to be accomplished by the enactment of the law. Every person who violates the law puts himself in the attitude of being required to pay the penalty for the infraction, but, although the delinquency may subject him to punishments, civil or criminal, this of course furnishes no reason why the statute should not be enforced. The individual who violates a penal statute may expect to pay the penalty, and so a corporation that violates the civil features of a statute is not in any position to complain if it, too, must pay the penalty.
These views in different forms of expression have been frequently announced. Thus in Thompson on Corporations, second edition, vol. 5, sec. 6712, it is said: “Such statutes are intended for the protection of the citizens of the State who deal with such foreign corporation, and there are many reasons why a person, after dealing with such a corporation, should have the right to insist on compliance with the statute, when the corporation sues to enforce the contract. The effect of the cases holding otherwise, is to make such a statute an instrument of fraud as against persons whom it was intended to protect, and the doctrine of estoppel cannot be extended so far as to aid a foreign corporation in doing what was forbidden by statute.”
In Cyclone Mining Co. v. Baker Light & Power Co., 165 Fed., 996, the court, in answering the argument that the doctrine of estoppel should be applied, said: “Nor are the defendants estopped, by reason of their contractual relations with the plaintiff, from insisting that the contract is void, and the plaintiff without legal right or capacity to sue for the breach thereof, because, if so estopped, the plaintiff would be permitted to take advantage of its own offending acts done in derogation and even in defiance of the law. It would be a revolting doctrine, fraught with inconceivable deleterious results, if a foreign corporation could come into a state not its own, and there carry on a business in direct defiance of the provisions of law by which it may capacitate itself for the transaction of business therein, and then valx*637date its acts because, forsootb, parties had dealt with it; for but few others have cause for suit except those having contractual relations in some form with such corporations. ’ ’
Out of a large number of cases illustrating the rule that a corporation or an individual that has made a contract for carrying on a business in violation of law or without having complied with statutory requirements, cannot enforce the collection of his or its demands created in carrying on the business, and that the defendant, although the beneficiary of the unlawful transaction, when sued is not estopped to raise the question of the disability of the plaintiff to maintain the suit, we may select the following: Smith v. Robertson, 106 Ky., 472; Franklin Insurance Co. v. Louisville & Arkansas Packing Co., 9 Bush, 590; Bull v. Harragan, 17 B. Mon., 349; Woods v. Armstrong, 54 Ala., 150; 25 Am. Rep., 671; Heilman Brewing Co. v. Piemeisl, 85 Minn., 121, 88 N. W., 441; Delaware R. Q. & C. Co. v. Bethlehem Ry. Co., 204 Pa., 22, 53 Atl., 533; United Lead Co. v. Reedy Elevator Mfg. Co., 222 Ill., 199, 6 A. & E. Ann. Cases, 637; Cary-Lombard Lumber Co. v. Thomas, 92 Tenn., 587; Seamans v. Temple Co., 105 Mich., 400, 55 Am. St. Rep., 457; Commonwealth Mutual Fire Ins. Co. v. Hayden, 60 Neb., 636, 83 Am. St. Rep., 545; Tri-state Amusement Co. v. Forest Park Highlands Amusement Co., 192 Mo., 404, 4 L. R. A. (n. s.), 688; State Bank of Greentown v. Lawrence, 177 Ind., 515, 42 L. R. A. (n. s.), 326; Strout Co. v. Howell (Del.), 85 Atl., 666.
Another argument advanced by counsel for the Oliver Company is rested on the doctrine of stare decisis. In support of this contention, our attention is called to the fact that in Johnson v. Mason Lodge, 106 Ky., 838, decided in 1899, this court held that a person who contracted with a corporation that had failed to comply with the statute here in question would be estopped when sued by the corporation to set up as a defense the illegality of the transaction, and it is said that the principle announced in this case was followed in Aultman v. Mead, 109 Ky., 583, and Hallam, Receiver v. Ashford, 24 Ky. L. R., 870, and, therefore, following the rule of stare decisis, this court should now adhere to these opinions. In other words, the effect of the argument is this, that the Oliver Company felt authorized to violate this statute because this court said in Johnson v. Mason Lodge that it. might do so with impunity, and repeated this as*638surance of protection in the Ashford and Mead eases subsequently decided.
It might here be noted that Johnson v. Mason Lodge and the two cases that follow it, were virtually overruled in Fruin-Colnon Contracting Co. v. Chatterson, 146 Ky., 504, but as this case was decided subsequent to the transaction of the business out of which this litigation arose, it cannot he said to deprive the Oliver Company of the right to rely on the doctrine of stare decisis, if the invocation of that doctrine saves it from the penalty of the statute.
Before, however, taking up directly the question of stare decisis it may be well to notice with more care the decision in Johnson v. Mason Lodge. The opinion in that case discloses that Mason Lodge was a Kentucky corporation and a branch of the Independent Order of Odd Fellows. It sued Johnson to recover a sum of money it had loaned him. In defense of the suit, he set up that the corporation was not legally organized, and furthermore that it had not complied with section 571 of the statute, and for these reasons could not enforce collection of the debt. The court, after discussing at length the proposition that Johnson was estopped to deny the legality of the corporate existence of the Mason Lodge, took up the question of the non-enforcibility of the contract because the corporation had failed to comply with section 571 of the statute, and disposed of it in a few words adversely to the contention of Johnson. The opinion makes it perfectly apparent that the entire reasoning of the court was devoted to consideration of section 566 of the statute, providing that:
“No corporation organized under this chapter shall he permitted to set up or rely upon the want of legal organization as a defense to any action against it; nor shall any person transacting business with such corporation, or sued for injury done to its property, be permitted to rely upon such want of legal organization as a defense”; and that little or no attention was given to the effect on the contract of section 571. But, nevertheless, it is fair to say that the court held in this opinion that the failure of this corporation to comply with section 571 did not defeat its right to enforce the collection of the contract sued on.
In the Ashford case all that was said on the point under consideration is this: “In Johnson v. Mason Lodge it was held that one who is sued upon a contract *639made with, a corporation is estopped from relying upon the failure of the corporation to comply with the provisions of section 571. As this question was very thoroughly considered in that case and has been followed in quite a number of subsequent decisions of this court, it is unnecessary for us again to consider the question. ’ ’
In the Mead case the only reference to this question is this: “The objection that appellants did not comply with section 571, of the Kentucky Statutes is fully answered in the opinion of the court in the case of Johnson v. Mason Lodge, and it will, therefore, be unnecessary for us to again consider that question.”
It will thus be seen that while in three opinions it was held that section 571 of the statute did not obstruct the right of a delinquent corporation to enforce a contract made with it, in no one of these opinions was the question examined with any degree of care. In the Johnson case we think the court fell into the error of confusing an ultra vires contract with an unlawful contract and treating section 571 as a companion section to section 566, and this error seems to have been followed in the two subsequent cases. It is of course plain that section 566 and section 571 relate to entirely distinct subjects. They have not the remotest connection with each other except in so far as they relate in a general way to corporations. They were enacted for different reasons and to accomplish different purposes. Section 566 relates to defects in the organization of a corporation and so states, while section 571 relates exclusively to the matter of a corporation doing business in this State without having an agent and a place of business in this State. Fruin-Colnon v. Chatterson, 146 Ky., 503.
As said in the Johnson case, it has been repeatedly decided, both by this court and others, that a person dealing with a corporation will not be permitted to raise the question that it was not legally organized, and section 566 merely put into the form of a statute a rule that a long line of court decisions had made a part of the law of the State..
On the other hand, the subject matter of section 571 first made its appearance in the history of the State in 1893 when it was adopted as a part of the statute law of the State, and it was put into the statute in obedience to section 194 of the Constitution, providing that “All corporations formed under the laws of this State, or carrying,on business in this State, shall, at all times, *640have one or more known places of business in this State, and an authorized agent or agents there, upon whom' process may be executed, and the General Assembly shall enact laws to carry into effect the provisions of this section.”
Under these circumstances the question now before us, put in simple form is, shall section 571 of the statute, enacted pursuant to section 194 of the Constitution of the State stand, or shall the decision of this court in Johnson v. Mason Lodge stand? The decision and the statute are in conflict, and if the doctrine of stare decisis as sought to be applied is to control, the decision must prevail and a valuable part of the statute be in effect expunged.
We are not unmindful of the importance of courts of last resort adhering to rules of law announced in long establised decisions that have become a part of the jurisprudence of the State, and on the faith of which people have transacted business, entered into contracts and conducted in a general way their affairs, and we should be slow to overrule any opinion that-might unsettle property rights acquired on the faith of the opinion overruled or that might prejudice the rights or interests of persons who had entered into engagements in reliance upon the fact that the opinion assailed was the law of the land.
As said in Kent’s Commentaries, vol. 1, sec. 475: “When a rule has once been deliberately adopted and declared, it ought not to be disturbed unless by a court of appeal or review and never by the same court, except for very cogent reasons, and upon a clear manifestation of error; and if the practice were otherwise it would be leaving us in a perplexing uncertainty as to the law.” To the same effect are Farrior v. New England Mortgage Security Co., 92 Ala., 176; Hasket v. Maxey, 134 Ind., 360, 19 L. R. A., 379; Vermont R. Co. v. Vermont Central R. Co., 63 Vt., 23, 10 L. R. A., 562, and many other cases referred to in these opinions.
But the rule of stare decisis, stated in simple form and considered in relation to its effect upon private affairs is really nothing more than the application of the doctrine of estoppel to court decisions. It finds its support in the sound principle that when courts have announced for the guidance and government of individuals and the public, certain controlling principles of law, or have given a construction to statutes upon which individuals and the public have relied in making contracts, *641they ought not, after these principles have been promulgated and after these .constructions have been published, withdraw or overrule them, thereby disturbing contract rights that had been entered into and property rights that had been acquired upon the faith and credit that the principle announced or the construction adopted in the opinion was the law of the land.
In the correct application of the rule of stare decisis we fully concur and do not propose in this opinion to announce any views that would impair or overthrow its efficiency when properly understood and applied. Later in the opinion we will again advert to the necessity for an adherence to the rule of stare decisis when properly invoked to protect contract or property rights.
It, however, seems to us apparent that the doctrine of staire decisis giving to it what may be called a personal application cannot be relied on by a party who has not in good faith been deceived by the decision under which he claims to have acted, and when it appears that a party was not misled to his prejudice by reliance on a decision that the court rendering it subsequently concluded was erroneous, the' court will not feel estopped to overrule it by the insistence of the party claiming to have acted under it that it would overturn contracts and engagements that he had entered into on the faith of it.
Let us see now for a moment if the Oliver Company is in a position to assert that relying on Johnson v. Mason Lodge it did not observe this statute.
It will be observed that the statute not only subjects the offending corporation to the civil disability of denying it the right to maintain an action but it also subjects it to a fine under the criminal law of the State; and if it should be said that the civil disability was removed by construction in Johnson v. Mason Lodge, the penal features of the statute remained undisturbed and furnished full notice to the corporation that it must comply with the statute or subject itself to the penalty imposed. Under these circumstances it does not lie in the mouth of the Oliver Company to say that, acting on the faith and credit of the Johnson case, it did not know it was necessary that it should observe this statute. In entering into this contract the Oliver Company was undeniably guilty of violating a law of this State that has been enforced in many cases, and it is not in a position to set up that this court ought not now to overrule the Johnson case.
*642We have examined a large number of cases on the subject of stdxre decisis, and in no one of them can there be found an attempted application of it to a state of facts such as are here presented. In every instance, so far as our investigation goes, where the doctrine has been applied, the decisions relied on furnished in themselves a line of authority that left no notice that anything else was required.
, But aside from this, the doctrine of stare decisis is not without its limitations. A court of last resort is not irrevocably bound to follow opinions that in the light of present circumstances- and conditions seem to be erroneous, and this case furnishes a good illustration of the necessity for a departure from the rule. Here we have a statute of the state enacted pursuant to the Constitution for the purpose of carrying out a wise public policy, an important feature of which was eliminated by the decision in Johnson v. Mason Lodge, and upon mature consideration we do not feel bound to follow this decision. In overruling it we are not without ample precedents furnished not only by the decisions of other courts but of this court. This court in the course of its history has deemed it wise and proper to overrule many cases, numbers of them relating to property rights, as may be seen by an examination of volumes two arid four of Barbour’s Digest, under the head of “Overruled Cases. ’ ’ A few of them may be mentioned:
In Montgomery County Fiscal Court v. Trimble, 104 Ky., 629, in overruling several previous cases, we said: “When a question involving important public or private rights, extending through all coming times, has been passed upon on a single occasion, and which decision can in no just sense be said to have been acquiesced in, it is not only the right, but the duty of the court, when properly called upon, to re-examine the questions involved, and again subject them to judicial scrutiny. We are by no means unmindful of the salutary tendency of the rule of stare decisis; but at the same time we cannot be unmindful of the lessons furnished by our own consciousness, as well as by judicial history, of the liability to error and the advantage of review.”
In Hall v. Martin, 89 Ky., 9; and Breathitt Coal, Iron & Lumber Co. v. Strong, 106 Ky., 699, the case of Hamilton v. Fugett, 81 Ky., 366, was in effect overruled, although the overruling opinions unsettled extensive property rights acquired on the faith of the Fugett opinion. *643True it was not expressly overruled, but it was effectually disposed of by being explained away in the cases mentioned, a process of elimination sometimes adopted to remove undesirable opinions.
Another case affecting property rights was Sheets v. Grubbs, 4 Met., 305, decided in 1863; but this case, after standing for many years and being followed in several cases, was overruled in Chenault v. Chenault, 88 Ky., 83. Yet another example is found in the Bank tax case reported in 102 Ky., 174.
In Victor Cotton Oil Co. v. City of Louisville, 149 Ky., 149, the case of Mengel Box Co. v. City of Louisville, 117 Ky., 735, was overruled, although on the faith of the exemption from taxation it afforded the Victor Cotton Oil Co. was, as it claimed, induced to establish its plant in the city of Louisville. Having thus been injduced to act on the authority of the Mengel case., the Cotton Oil Co. insisted that its right to the exemption ought not to be defeated, but Chief Justice Hobson speaking for the court said:
“It is insisted, however, that the facts.here shown bring the case directly within the doctrine laid down in Mengel Box Co. v. City of Louisville, 117 Ky., 735. This seems to be true, but that case is out of line with the subsequent cases, and with what seems to us the proper construction of the Constitution and the Statute.” To the same effect is Pratt v. Breckinridge, 112 Ky., 1.
In 26 American & English Ency. of Law, page 183, we find this sensible statement of the limitations upon the rule of stare decisis-. “This doctrine is not an arbitrary rule of positive law which forbids the questioning, under any circumstances, of all decisions or the exercise of judicial discretion in relation thereto, but is subject to reasonable limitation. * * * No prior decision is •to be reversed without good and sufficient cause, yet the rule is not in any sense iron-clad, and the future and permanent good of the public is to be considered rather than any particular case or interest. Even if the decision affects real-estate interests and titles, there may be cases where it is plainly the duty of the court to interfere and overrule a bad decision. Precedence should not have an overwhelming or despotic influence in shaping legal decisions. * * * The benefit to the public in the future is of greater moment than any incorrect decision in the past. Wherever a correction can be made without working more harm than good, it should be *644done. * * * Where vital and important public or private rights are concerned, and the decisions regarding them are to have a direct and permanent influence in all future time, it becomes the duty as well as the right of the court to consider them carefully and to allow no previous error to continue if it can be corrected. The foundation of the rule of stare decisis was promulgated on the ground of public policy, and it would be an egregious mistake to allow more harm than good to accrue from it.”
It is further insisted by counsel for the Oliver Company that this court in construing section 571 in Johnson v. Mason Lodge declared that a failure to comply with this statute did not affect the validity of a contract made by the delinquent corporation or prohibit it from enforcing the contract, and that as the contract between the Oliver Co. and the Louisville Realty Association was entered into subsequent to this opinion and while it was standing unaffected as the law of the land, this court is not now at liberty without impairing the obligations of a contract to overrule the Johnson case so as to affect the validity of the contract here in question.
Tn support of this position our attention is called to Gelpcke v. Dubuque, 68 U. S., 175, 17 L. Ed., 520. In that case the court said: “The sound and true rule is, that if the contract, when made, was valid by the laws of the State as then expounded by all departments of the government, and administered in its courts of justice, its validity and obligation cannot be impaired by any subsequent action of legislation, or decision of its courts altering the construction of the law.”
And to Douglas v. Pike County, 101 U. S., 677, 25 L. Ed., 968, where the court said: “As a rule we treat the construction which the highest court of a State has given a statute of the State as part of the statute and govern 'ourselves accordingly. * * * The true rule is to give a change of judicial construction, in respect to a statute, the same effect in its operation on contracts and existing contract rights that would be given to a legislative amendment; that is to say, make it prospec-. tive, but not retroactive. After a statute has been settled by judicial construction, the construction becomes so far as contract rights under it are concerned, as much a part of the statute as the text itself, and a change of decision is, to all intents and purposes, the same in its effect on contracts as an amendment of the law by means *645of a legislative enactment." To the same effect is Havemeyer v. Iowa Co., 70 U. S., 294, 18 Law Ed., 38; Pine Grove Township v. Talcott, 86 U. S., 661, 22 Law Ed., 1226.
We entirely concur in the right and justice of the rule announced in these cases and fully agree to . its soundness when properly applied, hut we think it should have no application to the facts of this case. In the cases mentioned and the others we have examined, it was used to protect innocent and law observing parties who in good faith had made investments in securities upon the faith and credit of opinions of courts of last resort. The parties invoking the protection of the rule did not, in making the contracts sought to be declared void by subsequent decisions, violate any law of the State. They appeared before the court with clean hands asking relief from decisions the effect of which was to deprive them of property in which they had been invited to invest not only by the laws of the State, but by the opinions of its highest court in construing them.
Here the situation is quite different. The Oliver Company comes before the court a confessed violator of the laws of the State. It is asking relief from a condition resulting from its deliberate and willful violation of a penal statute. It is not in a position to ask the protection of beneficial rules of law intended to save from loss law-observing citizens. We put our decision, that the Oliver Company is not entitled to the protection afforded by the principle announced in these cases and invoked in its behalf, upon the ground that it brought upon itself all the trouble it seeks to escape by making the contract now in question, in violation of an express penal statute of the State that was in full force and effect at the time the contract was made and that it was fully advised of, if its other pleas heretofore noticed are true, and that it was obliged to take notice of whether it had actual notice or not.
For the reasons stated the opinion in Johnson v. Mason Lodge, and the others that follow it, is overruled, and the judgment appealed from is affirmed.
Whole court sitting. Chief Justice Hobson and Judge Nunn dissenting.