This is ejectment for the property and building in the city of St. Louis known as numbers ten and eleven North Second street, which was, up to the sixth day of May, 1907, owned by Lavinia S. Shall-cross and others. At the date last named it was purchased by the plaintiff at a partition sale made by one Charles F. A. Mueller, a special commissioner appointed by the St. Louis Circuit Court for that purpose in a suit pending between the owners.
The defendant is a Pennsylvania corporation and has been engaged in business in the city of St. Louis since 1895, and from November, 1896, up to the time of the trial it maintained an office and place of business in the premises in controversy, where it carried on the business of buying and selling corks and other brewery supplies; and it had .a warehouse in St. Louis from which to make its deliveries. During all that time Mr. Sidney L. Gilbert has been its business manager in that city. Its principal office was in Pittsburg, Pennsylvania. Up to January 13, 1902, it had not complied with the laws of the State of Missouri entitling it to a license to do business in the State, but on that date *728having complied with those laws its license issued and was delivered hy the Secretary of State.
By a lease dated October 10, 1901, the owners of the premises, parties to the partition suit, by Wyatt Shallcross, their trustee, leased the premises to the defendant for use as a store and cork factory for a term of ten years from and after-the first day of January, 1902, “at an annual rental of fifteen hundred dollars payable monthly in installments of one hundred and twenty-five dollars each.” At the trial, which occurred at the February term, 1908, Mr. Mueller, the commissioner, testified that prior to the sale of the property by him the plaintiff asked him to ascertain for him the nature of the tenancies of-the parties in possession of the property, which included other buildings than those in controversy, and on October 8, 1907, he went to defendant’s office and in a conversation with Mr. Gilbert, its manager, was told by the latter that defendant had no lease on the premises in question; that the lease it had had expired, and that he supposed they would have to vacate; that thereafter, and before the sale, he saw the plaintiff and communicated to him the statements of Mr. Gilbert. Mr. Gilbert testified that prior to the sale Mr. Mueller came to his office asking permission to place a sign in front of the building, and stating that the property was to be sold; that the witness thereupon, in Mr. Mueller’s presence, turned to his bookkeeper saying: “Mr. Sharing, they tell me they are going to sell the building, and I am under the impression they have got us short here;” that the two talked the matter over in the hearing of Mr. Mueller and were uncertain as to whether or not their lease on the property had expired, or was still in force; that during the conversation it was stated that the lease was in Pittsburg, and the witness said that, as he was going to Pittsburg within a week or two to attend a director’s meeting he would then find out how matters stood; that Mueller asked nothing concerning the terms *729of defendant’s tenancy or tlie duration of its lease; that he said nothing to Mueller to the effect that the tenancy of the defendant was from month to month.
Mr. Shallcross testified that before the sale Mr. Mueller had asked him to bring the leases covering the several properties in the sale, so that they might be referred to in case any questions were asked about them; that he then knew that defendant’s lease had not expired,.and, while unable to state positively, he thinks he so informed Mr. Mueller. He had at the sale memoranda showing the terms of all the leases.
The plaintiff testified that he had been in business on Second street for twenty-five years and that he had known for a number of years that the defendant was in possession of the property.
The court excluded the statement of plaintiff that on the 24th or 25th of October, 1907, Mr. Mueller had reported to him that defendant’s agent had-told him there were no leases on the property in controversy. The appellant’s abstract of the record shows that this action was excepted to, but the defendant filed a supplemental abstract showing that this was not the case and nothing further was done.
The defendant’s lease was not recorded until after the plaintiff purchased and paid for the land.
The appellant makes no complaint either in his assignment of errors or brief that the question of notice to plaintiff of the defendant’s lease was not properly submitted to the jury upon unexceptionable instructions. While he assigns error on the action of the court in excluding testimony, it has not, as wé have seen, been properly saved in the record, and even were it material error, which is doubtful, it is not before us for consideration. The only question presented is whether or not the lease is void and inoperative because the defendant had not, on or before the first day of January, 1902, the date upon which, by its terms, it was to take effect, by compliance with the statutes in that respect *730acquired the right to do business in this State. This point is urged with great force and learning by the appellant’s counsel. These statutes have frequently been before the court for consideration and interpretation, from the point of view involved in each particular case, but as new questions are presented it seems necessary to examine them in the new light so suggested. In doing so we shall refer to the Revised Statutes of 1899, which were in force at the time.
Lease by Foreign Corporation Before Compliance With Law. Section 1024 provides that “every corporation for pecuniary profit formed in any other State, territory or country, before it shall be authorized or permitted to transact business in this State, or to continue business if already established, shall have and maintain a public office or place in this State for the transaction of its business, where legal service may be obtained upon it, and where proper books shall be kept to enable such corporation to comply with the consititutional and statutory provisions governing such corporation.” "We note that this provision requires certain things to be done that necessarily involve the making of contracts before it shall be permitted to transact business in the State or to continue its business if already established. As a condition precedent to the transaction of any business it must make all necessary contracts for the purchase or lease of real estate, and the construction or renting and fitting up of its office for the keeping of all bonks and the performance of all work necessary to enable it to comply with the constitutional and statutory provisions which will govern it in its new domicile. That this section contemplates the right of the corporation to purchase as well as to lease lands for that purpose is shown by the provision which forbids it to hold any real estate for more than six years ‘ ‘ except such as may be necessary and proper for carrying on its legitimate business. ” This demonstrates that it is not the making *731of a contract for performance within the State which is intended to he forbidden without regard to its nature or object, but that the inhibition is directed against the making of all contracts and the doing of all acts which constitute the transaction of business within the meaning of its terms. Further light is thrown upon the same question by the initial provisions of the next succeeding section (1025) which require the corporation to file in the office of the Secretary of State a certified copy of its charter with a sworn statement of “the proportion of its capital stock represented by its property and business in Missouri,” and to pay the incorporating taxes and fees thereon, as preliminaries to the issue of its certificate of authority to do business in the State. These last provisions are directed against companies “now or hereafter doing business within this State, ’ ’ and contain no provision limiting the duty to the time before they begin the transaction of their business here. The duty is a continuing one, and if it is forgotten or neglected or eváded today the corporation is not outlawed so that it must pack up its effects and leave the State, but the duty is expressly continued by the very words of the law creating it; and by the next section the punishment is fixed, not by outlawry, but by fine. Recapitulating the process of naturalization of the foreign corporation in the order in which the process is prescribed by the statute: (1) the establishment of an office full-fledged, for the performance of the duties relating to its incorporation; (2) the filing of its charter and other information necessary to subject it to police and revenue laws of the State; (3) the issue of its certificate. Having done this it may enter upon the employment of that portion of its capital stock upon which it has paid its incorporation fee, in the transaction of the business for which it was incorporated, and make all contracts necessary to that end. The statute is expressed with the greatest grammatical precision, and until we attempt to distort *732it by substituting our own ideas for those evidently in the minds of its framers, we have little difficulty in its construction.
This court expressed the same view in Hogan v. City of St. Louis, 176 Mo. 149, in which the Kern Company, a New Jersey corporation not domiciled in Missouri but having its office in New York, had agreed to light a considerable portion of the city of St. Louis. The case came here by appeal from a decree of the St. Louis Circuit Court refusing to enjoin the company from carrying out the contract on the ground that it had not qualified itself to transact business in this State by complying with the statutes we are now considering. In affirming the judgment the court said, through Valwant, J.: “But we do not consider it material whether the contract was made in St. Louis or in New York; we refer to the fact merely to illustrate the difference (in relation to the term ‘transact business’) between entering into a contract to do an act and the performance of the act. The one may be lawful per se and the other lawful only on condition. Of course, a contract cannot be lawfully made to do an unlawful act, but a contract may be lawfully made to do an act which the contracting party can lawfully do only when he shall have complied with conditions or satisfied other demands, and his unconditional contract to do it carries with it the obligation to comply with those conditions or satisfy those demands; he assumes the risk of being able to do so. . . . Now, when our statutes say that a foreign corporation shall not ‘transact business’ here until it establishes a public office in this State where books are kept and process may be served, and until it pays its quasi-incorporation tax and takes out its license, do they mean that the corporation must do all those acts before it can lawfully enter into a contract to do any business here? Does our law mean that when advertisements inviting bids on public or private works in this State are read by foreign corporations *733they are to under stand that they have not the right to bid and have their bids accepted unless they shall have already complied with the terms of our statute to enable them to transact business here? No, that is not the meaning of our statutes. No such policy of exclusion has ever been shown in any of our legislative acts; foreign corporations have always been invited and encouraged to come. The obtaining of a desirable contract is sometimes an inducement for a foreign corporation to come into the State; it is not bound to establish itself here before it can obtain such a contract. Entering into a contract like the one in question undoubtedly is ‘transacting business’ within the unlimited meaning of the term, but that is not the sense in wnich the term is used in the statute just quoted. As there used it means carrying on the work for which the cor*; poration was organized, and in its application to the facts in this case it means performing the work called for by the contract. ’ ’
It is true that in United Shoe Machinery Co. v. Ramlose, 210 Mo. 631, this court, speaking by Burgess, J.,. ref erring to these statutes said: “They not only declare all contracts entered into in this State by foreign corporations not complying therewith, void, but inhibited the institution of any suit thereon;” but it is evident that the learned judge was speaking only of the facts before him and did not intend to announce the general rule that the inhibition was against the making of any contract instead of being directed against its subject-matter. The true rule was stated by Wood-son, J., in the opinion of the court in Roeder v. Robertson, 202 Mo. 538, as follows: “It was not the intention of the Legislature to prohibit the enforcement of valid contracts made by foreign corporations in their own States with citizens of this State. There is nothing in our laws which denies the right of such corporations to enforce valid contracts, whether made in this State or not.” This interpretation is, therefore, not *734only founded on the natural meaning of the words of the statute, but has been affirmed and finally settled by the adjudications of this court.
Ratification. But it is insisted that we should take into consideration the fact that at the time this lease was dated and seems to have been made the respondent was already doing a general business in violation of the law and that the subject-matter of the lease was in furtherance of that business and it was therefore in violation of the law and void. We will, therefore, for the present purpose only, assume that, although the respondent had for years occupied the same building as the tenant of the same lessor, the lease was not only made on the date of its date but that it entered under it on the first day of January, 1902, the date appointed in the instrument, and maintained its office there until it received its certificate on the 13th of the same month. It also continued to hold the same premises under the same lease during the succeeding five years and up to the time of the service upon it by appellant of the notice to quit which laid the foundation of this .action. The presumption is that during’ that time it paid the monthly installments of rent when due, and the evidence is that it continued to tender the same on the, date of payments fixed in the lease, each month up to the time of the trial. During all this time its certificate was a matter of public record and there is no claim that the lessor did not have independent knowledge of its existence. Having, through all those years received its benefits upon the theory of its validity, he will be held by his ratification to have supplied the only element necessary to complete it at a time when the respondent was competent to take under its provisions. This effect follows whether it was void or only voidable, and the parol ratification gives effect to the written instrument according to its terms. [Austin v. Loring, 63 Mo. 22; Clyburn v. McLaughlin, 106 Mo. 521; Hartman v. Hornsby, 142 Mo. 368; Ansonia v. Cooper, 66 *735Conn. 184; same case, 64 Conn. 536; 21 Smith’s Leading Cases (5 Am. Ed.), 662.]
It follows that the judgment on the verdict must be and is affirmed.
PEE’ CURIAM. — The foregoing opinion of Brown, C., is adopted as the opinion of the court.
All the judges concur.