*588 Opinion
Aftеr a trial by the court, the plaintiff Vitek, Inc. (Vitek) was awarded judgment against Alvarado Ice Palace, Iric. (Alvarado) for $86,062.33 together with interest, costs and attorney fees based on its claims under a written construction contract. The court also recognized as valid the mechanic’s lien filed by Vitek and authorized enforcement by sale of the improved real property owned by Leonard A. Bloom and Deanne H. Bloom. Liberty National Life Insurance Company was beneficiary of a deed of trust on the property but the encumbrance held by Liberty was inferior to the plaintiff’s lien.
In accordance with the law requiring this court to view the facts in the light most favorable to sustain the judgment of the trial court, we will recount the pertinent events giving rise to the controversy.
In 1968 the defendant Alvarado was incorporated to build and operate an ice skating rink in the City оf La Mesa. It leased certain real property from the Blooms. Leonard Bloom was president of Alvarado and its principal agent negotiating the contract in question. In June of that year an architect, Donald Goldman, was hired and in September negotiations were begun with Vitek, a California corporation, which would serve as the general contractor. Negotiations on the terms of the contract were involved and protracted and oral understandings were reached before a written contract was agreed upon and formally executed. Vitek had considerable experience building larger structures such as churches, schools, motels, and other commercial as well as residential buildings, but had allowed its license to expire. A written contract was formally executed late in the afternoon of Friday, Octobеr 25, 1968, and on Monday, October 28, 1968, Vitek’s active license as a general contractor was renewed. It was on that day, October 28, 1968, Alvarado made its first payment under the contract and work was begun by Vitek. All work on the project was performed after that date while Vitek had an active general contractor’s license continuously in effect.
During initial discussions, Leonard Bloom was informed by Alvin Vitek, the responsible managing officеr and principal owner of Vitek, that the cost of the project would be about $434,000 and the building permit indicated the cost of the project would approximate that amount. Bloom, however, insisted the contract should specify a $250,000 estimated cost. The written contract ultimately executed by the parties provided a “cost plus” manner of reimbursing Vitek. It stated that all subcontractors’ bids *589 would be in writing and approved by Alvarаdo, and that reimbursement should be made weekly through a fund control.
The plaintiff encountered constant difficulty in obtaining payment for itself and for the subcontractors and materialmen. The bills and schedules of subcontractors were lost or misplaced by Alvarado repeatedly and when duplicates were sent they too were often lost. Alvarado never set up a fund control system for disbursing sums due the subcontractors as the contract provided but after some difficulties, did set up and used an escrow account. Bloom, representing Alvarado, sent his checks to cover the earlier billings and indicated he did not have time to set up such an account. Change orders were given by Alvarado agents including the architect, the general manager, and Leonard Bloom, the president, and though Vitek requested a memorandum in writing authorizing the changes, in many instancеs they were not sent. Vitek was told to go ahead with the changes anyway, which it did, and the changes were later approved in writing or otherwise accepted. Vitek repeatedly complained that Alvarado was not living up to the agreement and threatened to shut down the job. In one instance, in April 1969, when outstanding unpaid bills became so extreme, Vitek sent Alvarado notice and actually did shut down the job for two days until funds were рrovided to pay the then outstanding bills which amounted to $58,000.
Despite the difficulties in getting funds for payment of expenses, the job was completed and accepted by Alvarado. The cost of the completed structure exceeded $460,000.
The findings of fact in the lower court stated, inter alia, the plaintiff was a duly licensed contractor at all times during the performance of contract sued on, and that the “Plaintiff duly, timely and prоperly performed all of its obligations under said building construction contract.”
Defendants contend the judgment must be reversed because there is no substantial evidence to support the trial court’s finding that plaintiff was a duly licensed contractor at all times 1 and recovery is therefore barred by section 7031 of the Business and Professions Code. 2
*590 Section 7031 prohibits the bringing or maintaining of any action for collection of compensation for the performance of any act or contract for which a license is required without alleging and proving that the person was a duly licensed contractor at all times during the performance of such act or contract, 3
While it may be argued the execution of a construction contract is an act for which a license is required, that act is clearly not an act for which compensation for performance is made. Compensation for performance is made for acts called for in the cоntract and it is that performance which section 7031 controls.
When the contractor is licensed at the time of execution of the contract and other factors in furtherance of the statutory purpose are present, the courts have often applied a doctrine of substantial compliance to excuse the contractor from having a license “at all times during performance” where the contractor was otherwise qualified and inequity would occur if section 7031 were strictly applied
(Latipac, Inc.
v.
Superior Court,
When thе contractor is unlicensed at the time the contract is executed, however, we are faced with the question whether the contract is illegal and void, therefore unenforceable, wholly apart from section 7031.
*591 Section 7028 reads as follows: “It is unlawful for any person to engage in the business or act in the capacity of a contractor within this State without having a license therefor, unless such person is particulаrly exempted from the provisions of this chapter. Any violation of this section is a misdemeanor. If such a person has been previously convicted of the offense described in this section, the court shall impose a fine of not more than one thousand dollars ($1,000), or imprisonment in the county jail for not more than six months, or both.”
Many of the cases, by way of dicta, and.at least one text writer, have stated a contract executed by an unlicensed person in violation of the law is illegal and void. 5 We are convinced, however, that sort of broad statement is improper where the Legislature itself has defined the sanctions.
Undoubtedly, the general rule in this state is that when it appears there is a violation of a regulating statute, the prescribed penalty is the equivalent of an express prohibition and a contract made contrary to its terms is void even though the statute does not pronounce the fact.
(Berka
v.
Woodward,
In the leading case of
Lewis & Queen
v.
N. M. Ball Sons,
“In some cases, on the other hand, the statute making the conduct illegal, in providing for a fine or administrative discipliné excludes by implication the additional penalty involved in holding the illegal contract unenforceable; or effective deterrence is best realized by enforcing the plaintiff’s claim rather than leaving the defendant in possession of the benefit; or the forfeiture resulting from unenforceability is disproportionately harsh considering the nature of the illegality. In each such case, how the aims of policy can best be achieved depends on the kind of illegality and the particular facts involved. [Citations.]” The court in that case found the facts within the legislative proscription of section 7031; as indicated above, we do not.
The penalty provisions provided by the Legislature call for imposition of punishment for a misdemeanor where the party acts in the capacity of a contractor (§ 7028) and deny the pаrty the right to bring or maintain the action based on performance (§ 7031). Normally, a court will not impose additional penalties for noncomplicance with the licensing requirement.
(City Lincoln-Mercury Co.
v.
Lindsey,
A parallel can be found in other areas of licensing. Most notable is the case of the real estate brokers. In
Wilson
v.
Stearns, supra,
A case more clearly in point is
Houston
v.
Williams,
The courts often make a distinction between acts which are
malum in se
and those which are
malum prohibitum
in that the acts of the former character are viewed as rendering the agreement absolutely void in the sense that no right or claim can be derived from them, while acts of the latter character render the agreement void or voidable according to the nature and effect of the act prohibited. Agreements
malum in se
include all those of an immoral character, those which are inequities in themselves, and those opposed to sound public policy or dеsigned to further a crime or obstruct justice. (See 17 Am.Jur.2d, § 217, pp. 588-589; 12 Cal.Jur.2d, § 99, pp. 298-300.) The instant case clearly presents an act
malum prohibitum. (Marshall
v.
Von Zumwalt,
*594
Clearly the licensing provision is designed to protect the administration of the licensing law as well as to protect the public from incompetent and untrustwоrthy artisans.
(Lewis & Queen
v.
N. M. Ball Sons, supra,
Public proteсtion undoubtedly includes some need to deter individuals from executing contracts in violation of the licensing law. The legislative scheme clearly imposes only criminal sanctions to accomplish that result. In the case before us the facts support the conclusion the plaintiff may have committed a misdemeanor, but we find nothing in the law which allows us to impose civil sanctions not authorized by the statute.
The equities, of any other conclusion would work a distinct hardship on the contractor in the case before us, experienced and qualified, which in good faith obtained its license before it began any work for the defendant. It performed in all other respects competently and without injury to any person in the manner contemplated by the licensing law. We are not involved in aiding an incompetent or dishonest artisan. Nor can it be seriously arguеd that the statutory purposes of public protection would be frustrated by allowing enforcement of a contract fully performed by a licensed contractor whose qualifications for a license were unquestioned and whose only disability was signing the contract one business day before
*595
the license was issued. The defendant received, full value under the terms of the contract. The licensing law should not be used as a shield for the avoidance of a just obligation
(Epstein
v.
Stahl,
The other contentions of the defendant may be disposed of quickly. There was substantial evidence the work was fully completed by Vitek, in accordance with the plans and specifications. All changes in the plans were at the request and with the approval of Alvarado. The testimony of Alvin Vitek and Donald Goldman, the architect for Alvarado, verifies these facts. Acceрtance of the completed job constitutes performance. (Civ. Code, § 1473.)
None of the comments of the trial judge were unwarranted nor do they indicate he had prejudged the case. The time consumed in this case resolving the many oral modifications of a relatively simple written contract would undoubtedly try the patience of any court. In view of the circumstances of each “episode” complained of by defendant, we find the comments were not unreasonable.
Both plaintiff and defendants asked for attorney fees for prosecution of this appeal relying on the terms of the contract and Civil Code section 1717. No legal cause exists why fees should not be allowed and the determination of the amount rests most appropriately with the trial court on a showing of nature of the services and the time involved.
(Berven Carpets Corp.
v.
Davis,
Judgment affirmed and the cause remanded with direction to the trial court to determine a reasonable attorney fee for services performed on appeal and add such fee to the principal amount of the judgment.
Whelan, Acting P. J., and Ault, J., concurred.
A petition for a rehearing was denied October 26, 1973, and appellants’ petition for a hearing by the Supreme Court was denied January 3, 1974. *598 sion to a licensed real estate broker, even though the agreement to pay the commission named an unlicensed corporation as the recipient of the fee, where the court expressly found that valuable services were performed individually by the licensed broker and impliedly found that he was merely doing business under a fictitious name. The purpose of the licensing law is to proteсt the public from the perils incident to dealing with incompetent or untrustworthy brokers, and it should not be so literally construed as to require exact compliance if it would transform the statute into an unwarranted shield for the avoidance of a just obligation.
Notes
The findings included the following statement: “2. Plaintiff was a licensed general building contractor at all times during the performance of the contract sued upon.” Defendant argues the findings do not specifically show plaintiff was licensed at the time the contract was executed and he says that is required by section 7031 of the Business and Professions Code.
Unless otherwise indicated, section numbers refer to the Business and Professions Code.
Section 7031 reads in part as follows: “No person engaged in the business or acting in the capacity of a contractor, may bring or maintain any action in any court of this State for thе collection of compensation for the performance of any act or contract for which a license is required by this chapter without alleging and proving that he was a duly licensed contractor at all times during the performance of such act or contract. . . .”
The few acts occurring prior to the execution of the contract, i.e., receiving bids from subcontractors, visiting the site, etc., can be viewed as part of the preliminary negotiations necessary to understand the nature of the undertaking contemplated.
See
Holm
v.
Bramwell,
The case of
John E. Rosasco Creameries
v.
Cohen,
The change was obviously intended to broaden the sanctions on the unlicensed contractor where there was no license in effect during performance but payment was due at a later date, when the cause of action would technically accrue.
