Opinion
CHANNELL, J.
Plaintiff R. M. Sherman Co., Inc. (Sherman) sued for money due under a building contract between it, as subcontractor, and defendant W. R. Thomason, Inc. (Thomason), as prime contractor. Also named as a defendant was Industrial Indemnity Company, the surety under a stop notice release bond. The trial court allowed Thomason to assert a defense of setoff based on a previous contract between Sherman and Thomason which violated the Subletting and Subcontracting Fair Practices Act (former Gov. Code, § 4100 et seq.; now Pub. Contract Code, § 4100 et seq.).
(Hereafter, Fair Practices Act.) We hold that this was error.
I. Facts.
In December 1981, Thomason agreed to subcontract to Sherman the concrete work on a public improvement project in the City of Ukiah. Thomason had already secured the prime contract without identifying a
subcontractor. The City was not told of, and did not approve, Sherman’s involvement in the project. As part of the transaction some of Sherman’s employees and suppliers were paid through Thomason’s accounts, apparently to conceal Sherman’s involvement.
Due to inclement weather, Thomason incurred cost overruns of some $99,000, which it contended Sherman was obligated to pay.
In September 1982 the parties entered into a second, unrelated agreement making Sherman a subcontractor on a public works project in the City of Pleasanton. So far as the record indicates this subcontract was entirely lawful. Thomason withheld part of the proceeds of this contract, claiming a setoff based on its demands under the Ukiah contract.
Sherman filed this action to recover the sums withheld by Thomason. Thomason cross-complained for damages under the Ukiah contract. Sherman answered the cross-complaint, asserting that the Ukiah contract was illegal and unenforceable. Sherman then moved for summary judgment or summary adjudication of the proposition that the relief available on the cross-complaint was limited to the amount due Sherman in the main action. The trial court declared the Ukiah contract illegal and “void,” but denied summary judgment and declared that Thomason “may set off its Ukiah claim” against Sherman’s claim.
Sherman then amended its answer to plead an estoppel to assert the Ukiah demands.
The parties stipulated for purposes of trial that Thomason’s setoff exceeded the size of Sherman’s own claim. The apparent intent was to obviate all dispute over the setoff except with respect to the effect of the illegality of the contract and the question of estoppel. The right to pursue those issues on appeal was expressly reserved. Since the first question had already been adjudicated, there were three issues left for trial: (1) whether Thomason was estopped to assert the setoff; (2) whether Industrial, as surety, could avail itself of the setoff; and (3) whether Sherman was owed some $5,000 beyond the $22,365.35 conceded by Thomason.
After a nonjury trial on these issues, the court entered judgment declaring that Sherman was entitled to the amount prayed for, that Thomason was entitled to a setoff in a like amount, and that each party should take nothing. On cross-motions under Civil Code section 1717, the court found Sherman to be the prevailing party and awarded him attorney fees. Sherman appealed from the adverse portions of the judgment, and Thomason appealed from the fee award.
II. Analysis.
The Ukiah contract violated sections 4106 and 4107 of the Fair Practices Act by assigning work, without the City’s consent, to a subcontractor who was not identified in the bid for the prime contract.
Civil Code sections 1598 and 1608 make a contract “void” if it has an unlawful object or an unlawful consideration. The Ukiah contract appeared to have both— the unlawful participation by Sherman being both the object of the contract and the consideration for Thomason’s counterperformance. It would therefore appear that the contract was “void.” Thomason appears to concede as much.
If the contract was truly void it created no right or claim whatsoever: “A void contract is no contract at all; it binds no one and is a mere nullity.”
(Guthman
v.
Moss
(1984) 150 Cal.App.3d 501, 507 [198 Cal.Rptr. 54].) “No rights are enforceable under a void contract.”
(A-Mark Coin Co.
v.
General Mills, Inc.
(1983) 148 Cal.App.3d 312, 322 [195 Cal.Rptr. 859];
set First Nat. Bk.
v.
Thompson
(1931) 212 Cal. 388, 405-406 [298 P. 808] [contract void due to illegality “has no legal existence for any purpose”];
Tiedje
v.
Aluminum Taper Milling Co.
(1956) 46 Cal.2d 450, 453-454 [296 P.2d 554] [illegal contract “may not serve as the foundation of any action, either at law or in equity”].) If the agreement conferred no rights whatsoever and is a legal nullity, it is difficult to perceive how it could furnish the basis for a setoff. The general rule is that a setoff must rest on a claim enforceable in its own right. (20 Am.Jur.2d, Counterclaim, Recoupment, and Setoff, §§ 34, 55, pp. 256-257, 273-274.)
Unfortunately, the issue before us does not permit such a straightforward analysis. “The illegality of contracts constitutes a vast, confusing and rather mysterious area of the law.” (Strong,
The Enforceability of Illegal Contracts
(1961) 12 Hastings LJ. 347.) “One of the reasons for the apparent confusion is the fact that illegality may appear in many forms and in varying degrees ____Another source of confusion seems to be the tendency of some courts to speak in terms of absolute rules, and others in terms of numerous exceptions. Unfortunately, there appear to be several conflicting and competing ‘absolute’ rules. On the other hand, a monotonous and patterned recital of exceptions is apt to obscure the actual rule of decision.”
(Id.
at p. 348.)
Civil Code sections 1598 and 1608 are not always applied literally; in many cases they have simply been overlooked or ignored. (E.g.,
Asdourian
v.
Araj
(1985) 38 Cal.3d 276, 293 [211 Cal.Rptr. 703, 696 P.2d 95] [suggesting contract might be merely “voidable”; allowing recovery despite violation punishable as misdemeanor].) In any event the courts have fashioned exceptions and qualifications to the seemingly unequivocal statutory mandate of unenforceability. (E.g.,
Asdourian
v.
Araj, supra,
38 Cal.3d 276, 292-294 [defendant unjustly enriched, plaintiff unduly penalized];
Lewis & Queen
v.
N. M. Ball Sons
(1957) 48 Cal.2d 141, 151 [308 P.2d 713] [policy of violated statute better served by granting relief];
Severance
v.
Knight-Counihan Co.
Free access — add to your briefcase to read the full text and ask questions with AI
Opinion
CHANNELL, J.
Plaintiff R. M. Sherman Co., Inc. (Sherman) sued for money due under a building contract between it, as subcontractor, and defendant W. R. Thomason, Inc. (Thomason), as prime contractor. Also named as a defendant was Industrial Indemnity Company, the surety under a stop notice release bond. The trial court allowed Thomason to assert a defense of setoff based on a previous contract between Sherman and Thomason which violated the Subletting and Subcontracting Fair Practices Act (former Gov. Code, § 4100 et seq.; now Pub. Contract Code, § 4100 et seq.).
(Hereafter, Fair Practices Act.) We hold that this was error.
I. Facts.
In December 1981, Thomason agreed to subcontract to Sherman the concrete work on a public improvement project in the City of Ukiah. Thomason had already secured the prime contract without identifying a
subcontractor. The City was not told of, and did not approve, Sherman’s involvement in the project. As part of the transaction some of Sherman’s employees and suppliers were paid through Thomason’s accounts, apparently to conceal Sherman’s involvement.
Due to inclement weather, Thomason incurred cost overruns of some $99,000, which it contended Sherman was obligated to pay.
In September 1982 the parties entered into a second, unrelated agreement making Sherman a subcontractor on a public works project in the City of Pleasanton. So far as the record indicates this subcontract was entirely lawful. Thomason withheld part of the proceeds of this contract, claiming a setoff based on its demands under the Ukiah contract.
Sherman filed this action to recover the sums withheld by Thomason. Thomason cross-complained for damages under the Ukiah contract. Sherman answered the cross-complaint, asserting that the Ukiah contract was illegal and unenforceable. Sherman then moved for summary judgment or summary adjudication of the proposition that the relief available on the cross-complaint was limited to the amount due Sherman in the main action. The trial court declared the Ukiah contract illegal and “void,” but denied summary judgment and declared that Thomason “may set off its Ukiah claim” against Sherman’s claim.
Sherman then amended its answer to plead an estoppel to assert the Ukiah demands.
The parties stipulated for purposes of trial that Thomason’s setoff exceeded the size of Sherman’s own claim. The apparent intent was to obviate all dispute over the setoff except with respect to the effect of the illegality of the contract and the question of estoppel. The right to pursue those issues on appeal was expressly reserved. Since the first question had already been adjudicated, there were three issues left for trial: (1) whether Thomason was estopped to assert the setoff; (2) whether Industrial, as surety, could avail itself of the setoff; and (3) whether Sherman was owed some $5,000 beyond the $22,365.35 conceded by Thomason.
After a nonjury trial on these issues, the court entered judgment declaring that Sherman was entitled to the amount prayed for, that Thomason was entitled to a setoff in a like amount, and that each party should take nothing. On cross-motions under Civil Code section 1717, the court found Sherman to be the prevailing party and awarded him attorney fees. Sherman appealed from the adverse portions of the judgment, and Thomason appealed from the fee award.
II. Analysis.
The Ukiah contract violated sections 4106 and 4107 of the Fair Practices Act by assigning work, without the City’s consent, to a subcontractor who was not identified in the bid for the prime contract.
Civil Code sections 1598 and 1608 make a contract “void” if it has an unlawful object or an unlawful consideration. The Ukiah contract appeared to have both— the unlawful participation by Sherman being both the object of the contract and the consideration for Thomason’s counterperformance. It would therefore appear that the contract was “void.” Thomason appears to concede as much.
If the contract was truly void it created no right or claim whatsoever: “A void contract is no contract at all; it binds no one and is a mere nullity.”
(Guthman
v.
Moss
(1984) 150 Cal.App.3d 501, 507 [198 Cal.Rptr. 54].) “No rights are enforceable under a void contract.”
(A-Mark Coin Co.
v.
General Mills, Inc.
(1983) 148 Cal.App.3d 312, 322 [195 Cal.Rptr. 859];
set First Nat. Bk.
v.
Thompson
(1931) 212 Cal. 388, 405-406 [298 P. 808] [contract void due to illegality “has no legal existence for any purpose”];
Tiedje
v.
Aluminum Taper Milling Co.
(1956) 46 Cal.2d 450, 453-454 [296 P.2d 554] [illegal contract “may not serve as the foundation of any action, either at law or in equity”].) If the agreement conferred no rights whatsoever and is a legal nullity, it is difficult to perceive how it could furnish the basis for a setoff. The general rule is that a setoff must rest on a claim enforceable in its own right. (20 Am.Jur.2d, Counterclaim, Recoupment, and Setoff, §§ 34, 55, pp. 256-257, 273-274.)
Unfortunately, the issue before us does not permit such a straightforward analysis. “The illegality of contracts constitutes a vast, confusing and rather mysterious area of the law.” (Strong,
The Enforceability of Illegal Contracts
(1961) 12 Hastings LJ. 347.) “One of the reasons for the apparent confusion is the fact that illegality may appear in many forms and in varying degrees ____Another source of confusion seems to be the tendency of some courts to speak in terms of absolute rules, and others in terms of numerous exceptions. Unfortunately, there appear to be several conflicting and competing ‘absolute’ rules. On the other hand, a monotonous and patterned recital of exceptions is apt to obscure the actual rule of decision.”
(Id.
at p. 348.)
Civil Code sections 1598 and 1608 are not always applied literally; in many cases they have simply been overlooked or ignored. (E.g.,
Asdourian
v.
Araj
(1985) 38 Cal.3d 276, 293 [211 Cal.Rptr. 703, 696 P.2d 95] [suggesting contract might be merely “voidable”; allowing recovery despite violation punishable as misdemeanor].) In any event the courts have fashioned exceptions and qualifications to the seemingly unequivocal statutory mandate of unenforceability. (E.g.,
Asdourian
v.
Araj, supra,
38 Cal.3d 276, 292-294 [defendant unjustly enriched, plaintiff unduly penalized];
Lewis & Queen
v.
N. M. Ball Sons
(1957) 48 Cal.2d 141, 151 [308 P.2d 713] [policy of violated statute better served by granting relief];
Severance
v.
Knight-Counihan Co.
(1947) 29 Cal.2d 561, 569 [177 P.2d 4, 172 A.L.R. 1107] [restitution to party only slightly at fault, or party equally at fault who repudiates before illegal part of bargain executed]; see Rest.2d Contracts, §§ 178, 180, 181, 183, 184, 198, 199.)
Here Thomason has relinquished any claim to affirmative relief based on the illegal contract. This is consistent with the one reported case to consider the issue, which declares that a contractor who enters an agreement in violation of the Fair Practices Act cannot recover for its breach by the subcontractor.
(Kiely Corp.
v.
Gibson
(1964) 231 Cal.App.2d 39 [41 Cal.Rptr. 559].)
Thomason, however, contends that Sherman’s breach of the Ukiah contract affords the basis for a setoff. This argument rests on a supposed analogy to cases permitting an unlicensed contractor to assert a setoff based on a contract for building services, notwithstanding that the contract is otherwise unenforceable due to the absence of a license.
(Marshall
v.
Von Zumwalt
(1953) 120 Cal.App.2d 807 [262 P.2d 363];
Steinwinter
v.
Maxwell
(1960) 183 Cal.App.2d 34 [6 Cal.Rptr. 496];
Dahl-BeckElectric Co.
v.
Rogge
(1969) 275 Cal.App.2d 893 [80 Cal.Rptr. 440];
S & Q Construction Co.
v.
Palma Ceia Development Organization
(1960) 179 Cal.App.2d 364 [3 Cal.Rptr. 690];
Culbertson
v.
Cizek
(1964) 225 Cal.App.2d 451, 473 [37 Cal.Rptr. 458].)
The analogy is unsound. Generally, where a statute prohibits or penalizes specified conduct, the courts will infer a prohibition on enforcement of contracts based on such conduct.
(Reid
v.
Overland Machined Products
(1961) 55 Cal.2d 203, 208 [10 Cal.Rptr. 819, 359 P.2d 251];
Smith
v.
Bach
(1920) 183 Cal. 259, 262-263 [191 P. 14];
Gruzen
v.
Henry
(1978) 84 Cal.App.3d 515, 518 [148 Cal.Rptr. 573];
Severance
v.
Knight-Counihan Co., supra,
29 Cal.2d 561, 568.) In the context of licensing statutes, however, a contrary rule has been said to apply, namely, that when penalties are provided by statute, the courts “will not impose additional penalties for noncompliance with the licensing requirement.”
(Vitek, Inc.
v.
Alvarado Ice Palace, Inc.
(1973) 34 Cal.App.3d 586, 592 [110 Cal.Rptr. 86]; contra,
Owen
v.
Off
(1951) 36 Cal.2d 751, 753 [227 P.2d 457].) This exception to the general rule appears to rest, at least in part, on an application of the principle
expressio unius exclusius alterius est
(to express one thing is to exclude another). (See
Vitek, Inc.
v.
Alvarado Ice Palace, Inc., supra,
34 Cal.App.3d 586, 593.) Thus in
Marshall
v.
Von Zumwalt, supra,
120 Cal.App.2d 807, 810, the court quoted Business and Professions Code section 7031 and observed, “the statute merely prohibits a contractor from maintaining or bringing an action .... It does not prohibit him when sued from setting up as a defense any sums which may be equitably due him from the plaintiff upon such illegal contract.” (See also
S & Q Construction Co., supra,
179 Cal.App.2d 364, 367;
Steinwinter
v.
Maxwell, supra,
183 Cal.App.2d 34, 39.)
The Fair Practices Act contains no such arguably exclusive remedy. If anything, it implies that a noncomplying contract creates rights only in the subcontractor. Section 4112 recognizes that the subcontractor may sue under the contract, but provides that illegality is no defense
to the
contractor,
This implies legislative recognition of the general rule of unenforceability, and that under the rule of
expressio unius
the contract is in all other respects subject to that rule. (See
Kiely Corp.
v.
Gibson, supra,
231 Cal.App.2d at p. 46.) The Legislature presumably foresaw that situations might arise where cross-demands would exist. Yet while permitting the subcontractor to sue, it impliedly excluded a reciprocal right in the contractor and, at least arguably, any defense predicated on such a right. The Legislature is familiar with setoff defenses and knows how to expand them beyond the scope of affirmatively prosecutable claims when it chooses to do so. (See Code Civ. Proc.,
§ 431.70 [allowing setoff on some cross-demands otherwise barred by the statute of limitations].) It plainly intended the burden of noncompliance with the Fair Practices Act to rest squarely on the contractor as the party with the best ability to secure compliance, regardless of any seeming inequities which might result.
The unlicensed contractor cases do not rest solely on a theory of
expressio unius.
The
Marshall
court also justified allowing a setoff by observing that the contract was “not
malum in se
but merely
malum prohibitum,
” and that the case presented “no question of public interest or public policy” but was merely “a matter of balancing the rights and equities between the parties.” (120 Cal.App.2d at p. 810.) No reasoning was given and no authority cited for the assertion that the contract was
malum prohibitum,
and it is unclear what conclusion was drawn from that premise.
Nor did the court explain its view that there was no issue of public interest or policy involved. (See
Asdourian
v.
Araj, supra,
38 Cal.3d 276, 282 [purpose of contractor’s licensing statutes is to guard public against consequences of incompetent workmanship, imposition and deception];
Norwood
v.
Judd
(1949) 93 Cal.App.2d 276, 286 [209 P.2d 24] [enacted “primarily for the protection and safety of the public”].) Perhaps the unspoken rationale is that where a licensing statute is enacted for the protection of private economic interests (such as the interest of property owners in competent construction), and where a contract in violation of that statute has been substantially performed, a member of the protected class will not be permitted to repudiate his or her own undertakings behind the shield of the statutory violation while seeking affirmative relief in connection with the same transaction.
So understood, the unlicensed contractor cases remain wholly inapposite here. The Fair Practices Act is addressed to the efficient and economical supervision of
public works
projects and is not solely, or even primarily, for the protection of private interests. Courts have long held that a purpose of the act is to ensure that the contracting authority—the
public agency
involved—has an opportunity to investigate and approve any subcontractor who is proposed to work on the project.
(Fred J. Early, Jr., Co.
v.
County
Sanitation Dist.
(1963) 214 Cal.App.2d 505, 507 [29 Cal.Rptr. 633];
Klose
v.
Sequoia Union High School Dist.
(1953) 118 Cal.App.2d 636, 640 [258 P.2d 515]; see
Kiely Corp.
v.
Gibson, supra,
231 Cal.App.2d 39, 44-45.) In 1963 the Legislature enacted section 4101 of the Fair Practices Act, which provides, “The Legislature finds that the practices of bid shopping and bid peddling in connection with the construction, alteration, and repair of public improvements often result in
poor quality of material and workmanship to the detriment ofthe public, deprive the public ofthe full benefits of fair competition
among prime contractors and subcontractors, and lead to insolvencies, loss of wages to employees, and other evils.”
Contrary to Thomason’s suggestion there is no inconsistency between the legislative finding and the judicial analyses of statutory purpose described above. The Legislature has found that the public is injured when irresponsible bid practices cause a subcontractor to cut comers in materials or workmanship. Likewise, the public suffers if these practices result in padding the contractor’s pockets with larger profits at public expense. Somewhat less directly, the public suffers from added burdens on public services if subcontractors are driven out of business and their employees thrown out of work as a result of such practices. To minimize these evils the Fair Practice Act requires the contractor to identify the subcontractors the public will be paying for, and it makes this identification binding. These requirements rest on a basic principle—that the public is entitled to know exactly what it is paying for when it accepts a contractor’s bid, and to get exactly that unless it consents to something different. This is entirely consistent with the idea that the contracting agency has a right to investigate any proposed subcontractor, to reject the prime bid if any subcontractor is unacceptable, and to veto any proposed substitution after the bid is accepted.
It is tme that the act has been held to confer a right of action on a named subcontractor who is replaced by another without compliance with the act.
(Southern Cal. Acoustics Co.
v.
C. V. Holder, Inc., supra,
71 Cal.2d 719, 727;
Coast Pump Associates
v.
Stephen Tyler Corp.
(1976) 62 Cal.App.3d 421, 423, 426 [133 Cal.Rptr. 88];
Bay Cities Paving & Grading, Inc.
v.
Hensel Phelps Constr. Co.
(1976) 56 Cal.App.3d 361, 366 [128 Cal.Rptr. 632].) Again, however, there is no inconsistency with the public policies just noted. “[T]he purpose of the statute is to protect
both
the public
and
subcontractors from the evils of the proscribed unfair bid peddling and bid shopping.”
(Southern Cal. Acoustics Co., supra,
71 Cal.2d 719, 727, italics added.) A
private right of action furthers both purposes.
(Bay Cities Paving & Grading, supra,
56 Cal.App.3d 361, 366.) A subcontractor who relies on the act to resist enforcement of a contract is not merely asserting a personal defense conferred by the Legislature and the common law, but is vindicating the public interest in efficient management of public affairs.
Therefore, the analogy with the licensing cases fails entirely.
Even if a setoff could be predicated in some circumstances on a contract violating the Fair Practices Act, we do not believe it could operate as a defense to claims, such as Sherman’s, which arise from a wholly separate and unrelated transaction. There is little distinction between permitting a setoff in such a situation and granting an award of damages. Sherman’s fortuitous agreement to provide further services to Thomason should not operate to convert void claims into legally cognizable rights. In our view the defense asserted here is analogous in this respect to that of unclean hands, which lies only if the underlying conduct relates directly to the cause of action alleged in the complaint.
(Pond
v.
Insurance Co. of North America
(1984) 151 Cal.App.3d 280, 290 [198 Cal.Rptr. 517];
Arthur
v.
Davis
(1981) 126 Cal.App.3d 684, 693-694 [178 Cal.Rptr. 920].)
III. Unjust Enrichment.
The judgment is reversed insofar as it allows a defense of setoff and directs that plaintiff take nothing.
In all other respects the judgment is affirmed. The order declaring Sherman the prevailing party and awarding fees is affirmed.
Anderson, P. J., and Poché, J., concurred.