This quеstion is determinative of the instant appeal: Did the trial judge correctly *822 rule that plaintiff’s failure to procure a contractor’s license pursuant to Business and Professions Code, sections 7026, 7028, 7029, precludes his recovery for work, and materials furnished to another contractor under an agreement with that other contractor, who was also unlicensed?
Plaintiff sues as assignee of Prank B. Gotham who conducted business under the name Crane Service Company (herein referred to as Crane). Defendants Jerry Gould and Henry Matthews operate under the name G- & M Brick Company (later designated herein as G & M). Crane was in “the equipment and demolition equipment rental business” and G & M in the “business of buying and selling salvage brick.” The Glendale Unified School District was the owner of two brick buildings which it desired to raze. Bids for demolition and removal of same were invited. The representatives of Crane and G & M conferred together and arrived at an oral agreement that Crane should make a bid of $3,349.99, said sum to be a рayment to the school district for all salvage; this amount apparently represented the excess of the estimated value of all salvageable material over the cost of recovering the same and disposing of materials which could not be salvaged. Under their agreement G & M were to furnish the $3,349.99 for payment to the district. The bid was made and accepted, whereupon Crane entered into a written contract with the district and also paid for and posted a public works bond and a faithful performance bond. G & M supplied the $3,349.99 as agreed. Crane thus became the contractor so far as the school district was concerned. But Crane and G & M rearranged the deal between themselves. All salvageable bricks and other materials were to belong to G & M. They hired Crane Service Company cranes “by the hour to take down the brick and load them out bn the G & M trucks for transportation to G & M yard.” These were “manned and maintained” cranes, for whose services Crane was to be paid by G & M the reasonable value. G & M were to supply their own labor to strip the building of other salvageable materials and haul them away; G & M to own all salvage and “receive the revenue therefrom in its entirety.” It was also agreed that Crane would remove and dispose of all concrete and rough grade the site, for which G & M were to pay Crane $5,500. The job was completed. Bach of the parties “worked on their respective portions of the job indepеndently, and . . . they did not share control.” The reasonable value of the *823 hire of the crane was $817.65 of which Crane received $200 from G & M. Crane also furnished additional labor and services, “which included dumping fees and cost of replaceing personal property removed in the amount of $680.67.” Neither Crane nor G & M had a contractor’s license to do the work. Defendant G & M refused to pay the balance of $617.65 for crane hire, or any part of the $680.67 or the $5,500, relying upon the fact that Crane had no contractor’s license. This pоsition was upheld by the trial court, judgment went for defendants, and hence this appeal.
Plaintiff sued upon the contract, seeking recovery according to its terms. The trial judge found all the facts in his favor as alleged, but denied any recovery. Respondents’ brief says: “There is no question that the building in question was demolished and the salvage was carried away . . it also appears that it was sold by G & M. Defendants’ counsel argues that section 7037, Business and Professions Code, forbids recovеry. This poses a serious question for plaintiff does not proceed in quantum meruit nor directly invoke the doctrine of unjust enrichment. His right to recover depends, we think, upon whether defendant was within the class of persons for whose protection the statute was enacted. Sections 7026, 7028 7029 and 7031 are set out in the footnote. 1
*824
Appellant’s counsel relies largely upon cases involving the rights of a partner or joint venturer to enforce a disgorgement of a share of profit or other property derived from activities conducted without a requisite license and withheld by another partner or venturer. Referring to such a situation the opinion in
Norwood
v.
Judd,
Fraenkel
v.
Bank of America,
Cases which uphold the right of one partner to recovеr his share of moneys earned in a venture conducted without the required license are:
Denning
v.
Taber,
Wold
v.
Luigi Consentino & Sons, supra,
Respondent argues that these cases are not controlling because no joint venture was alleged or proved at bar. Certainly there was no such allegation or finding; at least not in specific terms. And there is no fund to be divided. But defendants received and disposed of all salvage and kept all profits derived therefrоm. They have also had materials and labor worth $6,683.57 furnished by plaintiff for their benefit and for which they refuse to pay. We apprehend
*826
that the presence of a partnership or joint venture in the cases above reviewed is not the determinative feature; it merely affords the basis for application of the equitable concept that one person in possession of property belonging to himself and another cannot deny the claim of that other to his share because the property was acquired in a transaction which was unlawful only because had without the sanction of a licensing statute. In other words, those cases hold that the recalcitrant partner is not one of the public for whose protection the statute was enacted. To some extent those cases are pertinent here. But they do not fully sustain appellant’s position, for he stands upon a contract, not upon a right to division of assets after completion of a contract, and it is one which would not be enforceable if the action were brought against the school district.
(Mansfield
v.
Hyde,
However,
Wilson
v.
Stearns, supra,
The court relied in part upon
Gatti
v.
Highland Park Builders, Inc.,
As above indicated, the exact legal status of the arrangement between the parties is not a determinant in these situations ; it is not necessary that there be a partnership or joint venture or any other specifically named relationship. The necessity of doing justice through forestalling unjust enrichment is the controlling consideration.
While this is true, another approаch to the problem is equally satisfying in its result. The parties in effect assigned the school district contract to G & M and made Crane a subcontractor; the subcontractor has done his job and defendant refuses to pay. While there was no formal assignment, defendant put up the money and took over the ultimate benefit of the contract—the ownership and disposition of the salvageable material. While Crane remained liable to the city upon his contract and thе posted bonds, he ceased to have any control over the operation except to work for G & M in the salvaging of brick, removing concrete, rough grading the site, etc. This he did independently, “and they did not share control.” All the profits went to G & M; Crane was entitled to nothing except the agreed price for labor and materials furnished by him. That this arrangement constituted an assignment so far as they were concerned is indicated by the holding in
Bergin
v.
van der Steen,
*830
Dow
v.
United States (10
C.A.),
The trial court did not decide and it is not necessary for us to determine the exact relationship which the parties bore *831 toward each other. We need go no further than to hold that one of two unlicensed contractors who has completed his job and conferred value upon the other may recover the amount due him for the same. The statute front the time of completion operates for his protеction and does not defeat the enforcement of his just claim. We are constrained to hold that the judgment herein is erroneous.
The judgment is reversed with instructions to render judgment for plaintiff as prayed.
Wood (Parker), J., and Vallée, J., concurred.
Respondents’ petition for a hearing by the Supreme Court was denied May 25, 1955. Spence, J., was of the opinion that the petition should be granted.
Notes
Assigned by Chairman of Judicial Council.
‘' § 7026. The term contractor for the purposes of this chapter is synonymous with the term ‘builder’ and, within the meaning of this chapter, a contractor is any person, who undertakes to or offers to undertake to or purports to have the capacity to undertake to or submit a bid to, or does himself or by or through others, construct, alter, repair, add to, subtract from, improve, move, wreck or demolish any building, highway, road, railroad, excavation or other structure, project, development or improvement, or to do any part thereof, including the erection of scaffolding or other structures or wоrks in connection therewith. The term contractor includes subcontractor and specialty contractor.”
‘ ‘ § 7028. 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 particularly exempted from the provisions of this chapter.”
“§ 7029. It is unlawful for any two or more licensees, each of whom has been issued a license to engage separately in the business оr to act separately in the capacity of a contractor within this State, to jointly submit a bid or otherwise act in the capacity of a contractor within this State without first having secured an additional license for acting in the capacity of such a joint venture or combination in accordance with the provisions of this chapter as provided for an individual, copartnership or corporation. ’ ’
“5 7031. 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 the 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.”
'‘ 5 10176. Investigation, of aetions of licensees: Grounds for suspension or revocation оf licenses. The commissioner may, upon his own motion, and shall upon the verified complaint in writing of any person, investigate the aetions of any person engaged in the business or acting in the capacity of a real estate licensee within this State, and he may temporarily suspend or permanently revoke a real estate license at any time where the licensee within the immediately preceding three years, while a real estate licensee, in performing or attempting to perform any of the acts within the scope of this chapter has been guilty of any of the following: . . .
“(f) The practice of claiming, demanding, or receiving a fee, compensation or commission under any exclusive agreement authorizing or employing a licensee to sell, buy or exchange real estate for compensation or commission where such agreement does not contain a definite, specified date of final and complete termination. ’ ’
