This is an action to recover a deficiency on a conditional sales contract and to foreclose a chattel mortgage, On September 22, 1959, Raymond J. Ryan and Helen Ryan, plaintiffs and respondents (hereinafter referred to as plaintiffs) agreed to sell and Mike-Ron Corp., Inc., defendant and appellant (hereinafter referred to as Mike-Ron) agreed to buy 23 items of personal property for a price of $100,000. A promissory note in the amount of the contract price was executed by Mike-Ron and guaranteed by defendant and appellant Stanley A. Tanner (hereinafter referred to as Tanner). Both defendants, Mike-Ron and Tanner, executed a mortgage of chattels covering four other items of personal property not included in the sale, as additional security for the payment of the purchase price.
Though required to make $5,000 monthly payments, the defendants made none. Fifteen months elapsed, and plaintiffs then repossessed those items which defendants had taken into their possession. All 23 items were eventually sold for a total of $10,860. Evidence was offered, but rejected, to the effect *74 that the top fair market value of the goods at the time the contract was made was $25,000. The trial court entered a deficiency judgment (which took into account attorney’s fees, costs of sale, and the deduction of fair market value of a Dodge Power Wagon) in the amount of $91,347.90 less the net proceeds of the foreclosure sale which the trial court ordered of the four items subject to the chattel mortgage.
All of the parties to the action agreed and the trial court found that the Dodge Power Wagon, which was one of the 23 items conditionally sold, is a motor vehicle within the purview of Civil Code section 2982, and since the contract did not conform to the provisions of that section, the contract is unenforceable as to the Dodge Wagon. The trial court found that the reasonable value of the Dodge Power Wagon was $500, severed this item from the contract, and enforced the contract as to the balance. Defendants contend that the conditional sales contract is entire, indivisible and if partially invalid, is wholly unenforceable. We agree with this contention.
The consideration for the sale of the 23 items was a promise to pay $100,000. There was no allocation of the sales price to any of the items sold. “If payment of a lump sum is to be made for several articles, the contract is necessarily indivisible.” (6 Williston on Contracts, 272, § 862;
Norris
v.
Harris,
Since the contract was entire it must stand or fall as a unit.
(Norris
v.
Harris, supra,
In order to completely dispose of the issues presented by this appeal which may arise upon a retrial, it is necessary to determine, in light of our holding, whether plaintiffs are entitled to quasi contractual relief. Unquestionably, Mike-Ron’s use or right to possess and use, the equipment in question for at least 15 months constituted a substantial benefit conferred upon it by the plaintiffs. As a general rule, however, a guilty party to an illegal contract cannot recover in quasi contract for the benefit conferred.
(City Lincoln-Mercury Co.
v.
Lindsey,
We believe, however, that in this case it is possible to obtain justice between the parties without disserving the public interest. The purpose of Civil Code section 2982 is to protect the purchaser of motor vehicles against excessive charges, by requiring full disclosure of interest charges, placing limitations on time price differential, and other matters.
(General Motors Accept. Corp.
v.
Kyle,
<6
“. . . the general purpose of the statute ... is merely to protect, not to enrich, the buyer in cases of purely formal violations. ...” (P. 113.) See
Stasher
v.
Harger-Haldeman,
We believe that the Legislature did not intend to deprive the seller, guilty only of formal violation of Civil Code section 2982, of restitution where a substantial part of the goods sold were not motor vehicles, It would ap *76 pear that the instant ease is a proper one for the application of Restatement of Contracts, section 600 which provides: “If neither the consideration for a promise nor the performance of the promise in an illegal bargain involves serious moral turpitude, and the bargain is not prohibited by statute, it is enforceable unless the plaintiff’s case requires proof of facts showing the illegality, or they are pleaded by the defendant, and even in that event recovery may be allowed of anything that has been transferred under the bargain, or its fair value, if necessary to prevent a harsh forfeiture. ”
This section has been applied in California in a line of cases beginning with
Wayman Inv. Co.
v.
Wessinger,
In
General Motors Accept. Corp.
v.
Kyle, supra,
In no event may the plaintiff recover for the motor vehicles more than he would be allowed under this formula.
It is next necessary to determine which of the goods sold were motor vehicles within the meaning of Civil Code section 2982. In addition to the Dodge Power Wagon, there were included among the 23 items sold, the following items which the defendants contend are motor vehicles: An Allis Chalmers H D6 tractor; a Caterpillar D8 tractor; a large *77 compressor mounted on a four-wheel trailer; a small compressor mounted on a two-wheel trailer and a wagon drill frame mounted on a two-wheel trailer. Both tractors are equipped with metal treads. At the time the contract was made Civil Code section 2981 subdivision (j) provided that the term “motor vehicle” as used in Civil Code section 2982 shall mean any vehicle required to be registered under the Vehicle Code. 1 Vehicle Code section 4000, dealing with registration, provides: “No person shall drive, move, or leave standing any motor vehicle, trailer, semi-trailer, pole" or pipe dolly, or auxiliary dolly upon a highway unless it is registered and the appropriate fees have been paid under this code.”
Thus, only those vehicles which are driven, moved or left standing upon a highway are required to be registered. We believe, however, that it is unnecessary to show that a vehicle has been driven, moved or left standing upon a highway in order to come within the scope of Civil Code section 2982. The section has been applied, for example, to the sale of a new car
(City Lincoln-Mercury Co.
v.
Lindsey, supra
Bulldozers and similar heavy equipment have been held to be motor vehicles
(Behling
v.
County of Los Angeles,
Whether the compressors and wagon mounted drill frame are trailers required to be registered as motor vehicles (Veh. Code, § 4000), and thus subject to Civil Code section 2982 under the test set forth above, or special mobile equipment exempt from registration (Veh. Code, § 4010) depends upon how these pieces of equipment resemble the definitions thereof set forth in the Vehicle Code (see Veh. Code, §§575 and 630;
Standard Oil Co.
v.
Philbrick,
In view of the foregoing it will not be necessary to discuss the other issues presented on appeal.
The judgment is reversed.
Griffin, P. J., and Coughlin, J., concurred.
Notes
Seetion 2981, subdivision (j), was amended effective January 1, 1962, to provide that the term “motor vehicle” as used in Civil Code section 2982 means any vehicle required to be registered under the Vehicle Code which is bought for use primarily for personal or family purposes and does not mean any vehicle which is bought for use primarily for business or commercial purposes. The amendment, of course, is not retroactive and therefore not applicable here. It is noted that Civil Code section 2982 before the amendment was applicable to motor vehicles used primarily for business purposes.
(Carter
v.
Seaboard Finance Co.,
Though the present statute exempts special construction equipment from registration (Veh. Code, § 4010), the predecessor of this statute, which is here applicable, allowed the exemption only to special highway construction equipment. In any event there is no evidence that the tractors here were to be used for either purpose.
