1 Reported in 39 N.W.2d 174. Appeal from a judgment of the district court in favor of plaintiff, hereinafter referred to as the city.
On March 6, 1946, the city council of St. Paul approved specifications for automatic type parking meters to be purchased by and installed for the city. It authorized the city's purchasing agent to advertise for bids for furnishing and installing 1,070 parking meters, subject to the right of the city to increase the number up to 15 percent at the same price. Pursuant to this advertisement, bids for automatic type meters were received from defendant, hereinafter referred to as the contractor, and two other manufacturers. The bid of the contractor for 1,070 meters at $64.50 per meter amounted to $69,015. On May 22, 1946, the purchasing committee of the city awarded the contract to the contractor, and on the same date the award was approved by the city council. On May 28, 1946, before the formal contract was prepared, one Walter A. Coller instituted a taxpayer's suit against the city and the contractor to annul and set aside the award as a violation of the competitive bidding requirements of §§ 299 and 308 of the city's charter. In that action in district court, the contractor obtained a judgment about August 6, 1946, dismissing the action and adjudging that the contract was validly awarded.
On August 20, 1946, the city and the contractor entered into a written contract, pursuant to the award, for 1,070 parking meters at $69,015, which number was increased on December 6, 1946, to 1,230 meters for a total of $79,335, pursuant to the right of the city to increase the number up to 15 percent at the same price.
On August 21, 1946, Coller appealed to this court from the adverse judgment of the district court. After the entry of the judgment in district court in that case and pending the appeal here, the contractor proceeded to furnish to and install for the city 1,230 parking meters, which were placed in operation by the city on December 20, 1946. Subsequently, and on March 21, 1947, this court reversed the judgment of the district court in the Coller case and directed the entry of a new judgment nullifying the award of the *Page 220 contract to the contractor, and it also granted an injunction enjoining the city and the contractor from entering into and performing the contract made pursuant to the award. During the pendency of the Coller appeal, this court had not been informed that the meters had been installed and were in operation.
The purported contract referred to herein contained in part the following provisions:
"B. Trial Period: The City shall have six months of meter operation after all meters are installed and in operation to determine the satisfactory performance of the meter installed; and in the event the City is restrained by court action from operating meters during this six-month period or a part thereof, the Council, by resolution, may extend said six-months period at its option, so as to insure a full six-months operation of said meters, said six months or any extension thereof to be known in these specifications as the 'trial period.'
"In the event that the meters installed under this contract do not satisfactorily perform their function at any time during the trial period, the City Council may, by resolution, cancel the contract and reject the meters. In the event of such rejection, the City Clerk shall notify the contractor by mailing to said contractor a certified copy of the resolution duly adopted by the Council of the City of St. Paul, rejecting said meters and ordering their removal from the streets of the City of St. Paul. In case said meters are thus rejected, the same are to be removed entirely from the streets or other public ways where placed, and the streets or sidewalks restored to their normal condition within thirty (30) days after the said notice is received by the contractor, without any cost or expense to the City.
* * * * *
"D. Schedule of Payments: Payments under this contract shall be made to the contractor as follows: At the end of each thirty days during the six-months trial period a sum shall be due and payable to the contractor equal in amount to sixty (60%) per cent of the receipts from the parking meters during the preceding thirty *Page 221 (30) day period, but not in any case in excess of the total contract price. After the expiration of the six-months trial period, a sum shall be due and payable to the contractor, equal in amount to sixty (60%) per cent of the receipts from the parking meters during each thirty-day period until the full amount of the contract price is paid.
"No obligation of any kind or nature whatsoever shall accrue against the City to either accept such meters or pay for the same or any part thereof except to pay sixty (60%) per cent of the receipts during the 'trial period' or any extension thereof, and if the meters are accepted, sixty (60%) per cent of the receipts after the 'trial period,' until the full amount of the contract price has been paid.
"In the event the City shall be prevented from installing and/or operating such meters by final court judgment or decree then the City may reject the same without liability or obligation except as provided above."
The receipts for the month of December 1946 from the meters installed amounted to $6,615.68, of which amount the contractor received 60 percent, or $3,969.41, in accordance with the schedule of payments provided for in the contract. This payment was made by the city to the contractor on or about January 10, 1947. The receipts for January 1947 were $10,281.89, of which amount 60 percent, or $6,169.13, was paid the contractor by the city on or about February 10, 1947. The receipts for February 1947 amounted to $9,696.81, of which 60 percent, or $5,818.09, was paid to the contractor by the city on or about March 10, 1947. The total amount paid to the contractor by the city, representing 60 percent of the receipts from the meters from December 20, 1946, through February 1947, was $15,956.63, and the total amount retained by the city, representing 40 percent of the meter receipts during the same time, was $10,637.75.
After the filing of this court's opinion in the Coller case on March 21, 1947 (Coller v. City of St. Paul, 223 Minn. 376,26 N.W. [2d] 835), the city held up and has continued to hold up all payments *Page 222 claimed by the contractor as accruing to it under the provisions of the contract. The receipts from the meters, according to the record, for the month of March 1947 amounted to $11,418.28, of which 60 percent would be $6,850.97. The receipts from April 1, 1947, to April 27, 1947, inclusive, amounted to $10,629.80, of which 60 percent would be $6,377.88.
After the decision of this court in the Coller case was filed and early in April 1947, the city readvertised for bids covering 1,230 new or used automatic type or manual type parking meters. Otherwise, the specifications were the same as before, except that quotations were asked only on meter heads and posts, the city undertaking to do its own installing. The contractor submitted a bid for used automatic type meter heads and posts at a unit price of $40.34. A written contract, based on the award, was signed by the parties on April 28, 1947, and on the same date a separate contract was signed by the city and the contractor whereby the latter transferred to the former title to the base installations in the sidewalks, and the city relieved the contractor of its obligation to remove the same and restore the sidewalks. The city also agreed to save the contractor harmless from any claims by reason of the presence of such base installations in the sidewalks.
On June 24, 1947, the city brought this action in district court under the declaratory judgments act (M.S.A. c. 555) praying for a judgment declaring the rights of the city and the contractor in and to all receipts from the 1,230 parking meters furnished by the contractor to the city and for such other relief as the court might deem proper. It is from the judgment of the district court awarding the city all the money put into the parking meters between December 20, 1946, and April 27, 1947, together with costs and disbursements, and denying the contractor any compensation for the use of the meters by the city that this appeal is taken.
The legal issues raised by the contractor on appeal and adopted by the city are as follows: *Page 223
(1) Did the contract of August 20, 1946, between the parties contain severable rental provisions, not within the competitive bidding requirements of the city's charter, which survived the decision of this court, invalidating the award as a transaction of purchase and sale?
(2) In the alternative, was the contractor entitled to compensation in quasi contract to the extent of the benefits received by the city from its use of the meters between December 20, 1946, and April 27, 1947, and, if so, what was the amount or measure of the benefits?
1. A review of our decision in the Coller case shows clearly that we directed a judgment to be entered nullifying the award of the contract to the contractor and granting an injunction enjoining the city and the contractor from entering into and performing a contract pursuant to the award. We thus considered as illegal the entire purported contract entered into between the city and the contractor on August 20, 1946, pursuant to the award. That being the case, we cannot now consider the first issue raised by the contractor on this appeal as to whether the purported contract of August 20, 1946, contained severable rental provisions which might have survived the decision of this court invalidating the award as a transaction of purchase and sale only.
2. This brings us to the other issue raised on this appeal, and that is whether the contractor is entitled to compensation in quasi contract to the extent of the benefits received by the city from its use of the meters between December 20, 1946, and April 27, 1947, and, if so, the amount or measure of the benefits.
We have had a line of decisions in this court which have permitted a contractor to recover in quasi contract for benefits received by a municipality where the contract was made in good faith and was within the power of the municipality to make but where it was declared void because of noncompliance with details required by statute or charter, or failure to comply with competitive bidding requirements, or for some other failure to comply with legal requirements. *Page 224 See, First Nat. Bank v. Village of Goodhue, 120 Minn. 362,139 N.W. 599, 43 L.R.A.(N.S.) 84; Wakely v. County of St. Louis,184 Minn. 613, 240 N.W. 103, 84 A.L.R. 920; Laird Norton Yards v. City of Rochester, 117 Minn. 114, 134 N.W. 644,41 L.R.A.(N.S.) 473; Fargo Foundry Co. v. Village of Callaway,148 Minn. 273, 181 N.W. 584; Mares v. Janutka, 196 Minn. 87,264 N.W. 222.
In Village of Pillager v. Hewett, 98 Minn. 265,107 N.W. 815, plaintiff village entered into a contract with defendant contractor for the construction of a bridge. The contract was within the power of the village to make, but was not entered into in the manner and form required by statute, since it was entered into privately, not upon and after advertisement for bids. The contractor built the bridge according to plans and specifications. The village inspected and accepted the same and paid the contractor $500 in cash and $1,300 in bonds as part of the contract price, but it refused to pay the balance on the ground that the contract was void. It was held void by reason of its failure to comply with the details required by statute. The bridge was afterward carried away by a flood, which the court said was not material, since it was not due to any fault of the contractor. The village brought an action to recover the amount paid on the contract price. The court there said that it may be conceded that the contractor could not maintain an action on the contract to recover the contract price (98 Minn. 267,107 N.W. 816) —
"for upon the grounds of sound public policy the doctrine of ultra vires is applied with greater strictness to municipal than to private corporations. * * * it would be most inequitable and unconscionable to compel the defendant to return the money and bonds paid to him under the circumstances found by the trial court, and we hold that the plaintiff cannot maintain this action to recover them."
In that case, the court stressed the fact that the contract was entered into in good faith and that the price to be paid for the bridge was fair and reasonable. No action had been commenced to enjoin *Page 225 the performance of the contract, as here, but only an action by the village to recover from the contractor a partial payment made on a contract declared void after the bridge had been constructed by the contractor and accepted by the village.
It will be noted that in all those cases where recovery was permitted in quasi contract the primary requisite appears to have been that in order to permit recovery the contract must have been entered into in good faith and without intent to violate the law. It will be noted also that in none of the cases had an action been commenced to enjoin the contractor from performing the contract, as here. In contrast, we find in the Coller case, 223 Minn. 376, 26 N.W.2d 835, that this court concluded that the contractor's bid was a proposal to install the meters according to its own specifications as a substitute for the method required by the city; that the contractor excepted therefrom requirements of furnishing and compensating a serviceman to service the meters during the trial period; that the bid was amended and modified after the bids had been received and opened. Inasmuch as the meters had been installed by the contractor pending an appeal to this court in said action to nullify the award of the contract to the contractor and to enjoin the city and the contractor from entering into and performing a contract pursuant to the award, it is our opinion that the elements of good faith that were present in the cases permitting recovery by the contractor are lacking here. We hold that under the facts and circumstances the contractor is not entitled to compensation in quasi contract to the extent of the benefits received by the city during the times involved in this action.
3. In the Coller case, the contractor and the city were both defendants and were both in the same situation with reference to the relief granted to plaintiff in his taxpayer's suit. In this case, the contractor and the city are on opposite sides, each seeking a judgment declaring its rights in and to the receipts from the meters from December 20, 1946, to April 27, 1947, which meters were installed and put into operationafter the appeal was taken in the Coller case and before the final decision. *Page 226
This appeal by the contractor is from the judgment of the district court awarding to the city all the receipts for the time involved. Thus, we have this incongruous situation: When our decision came down in the Coller case, the same meters which we attempted to restrain the parties from installing and putting into operation, by enjoining them from entering into and performing the contract pursuant to the award, had already been installed and put into operation.
It appears to us that when the parties entered into and performed the contract pending the appeal in the Coller action to enjoin them from doing so neither the contractor nor the city acquired any rights under the contract or by reason of its performance. As it develops from the decision in the Coller case, the city could not legally let the contract, nor could the contractor legally perform it. Our decision in that case determined that as between the contractor and the city the contract and the performance thereof were illegal, as we enjoined the parties from entering into the contract or performing it.
It would be unreasonable to say here that one of the parties should be entitled to equitable relief and the other denied it. It appears to us that both are in substantially the same position so far as the situations are concerned out of which this litigation and the Coller case arose. It might be argued by both parties that, inasmuch as the contractor obtained a judgment in district court dismissing the action and adjudging the contract validly awarded, the parties were justified in entering into the contract of August 20, 1946. With this position we shall not disagree. However, when Coller appealed to this court on August 21, 1946, both the city and the contractor, who were defendants in that action, took their own chances that the district court judgment might be reversed, that the award might be nullified, and that they might be restrained from entering into and performing the contract, which is exactly what happened. It would appear that under those circumstances it was inequitable conduct on the part of both parties to proceed with or attempt to permit the performance of the contract by installing *Page 227 the meters prior to the time the Coller appeal was determined by this court.
In Jones v. Securities Exchange Comm. 298 U.S. 1, 15,56 S. Ct. 654, 657, 80 L. ed. 1015, 1021, the court said:
"* * * The rule is well settled, both by the courts of England and of this country, that where a suit is brought to enjoin certain acts or activities, for example, the erection of a building or other structure, of which suit the defendant has notice, the hands of the defendant are effectually tied pending a hearing and determination, even though no restraining order or preliminary injunction be issued."
In Fredericks v. Huber, 180 Pa. 572, 575, 37 A. 90, 91, the court said:
"* * * Equity regards the substance rather than the form of things, and will not allow itself to be baffled by a wrongful change while its aid is being invoked."
In Kreusler v. McKees Rocks School Dist. 256 Pa. 281,100 A. 821, the plaintiff, a contractor, brought an action to recover in quantum meruit for work done and materials furnished defendant, a school district, under an ultra vires contract. The plaintiff also endeavored to recover the amount due under a legal contract for certain repairs. The court held that the trial court properly had refused to permit the defendant to set off against the amount due under the valid contract sums which had been previously paid plaintiff under the void contract. The court there said (256 Pa. 294, 100 A. 824):
"* * * The learned court below refused to allow the set-off on the ground that, as it was paid on an illegal contract, the law leaves 'the parties just in the condition in which it finds them.' This is the general rule to which the present case is not an exception. The contract for the construction of the superstructure was ultra vires the school board, and, therefore, incapable of enforcement. Hence, the plaintiff is not permitted to invoke its aid in collecting the amount due him for work done * * *. For a like *Page 228 reason, the contract will not support an action by the defendant school district to recover back the money which it paid illegally to the plaintiff for work done under the contract. * * * The plaintiff having notice of the wrongful act is in pari delicto with the school board. Neither is the victim of the other. * * * The law, under such circumstances, will not give relief directly or indirectly to either party."
The contractor here argues that if it had not proceeded promptly it would have suffered a forfeiture of its certified check, required of each bidder to secure prompt execution and performance. This position is hardly tenable, for even though the deposit had been forfeited the city would have been compelled to refund it as a result of the decision in the Coller case.
It is our opinion that both parties are in such an inequitable position as to the proceeds from the meters between December 20, 1946, and April 27, 1947, that we must leave them where the law found them when this action was commenced. Technically speaking, these funds were not received exclusively from the residents of the city of St. Paul as a tax levy, but were received from the public generally for parking privileges.
Reversed with directions that the judgment of the trial court be modified so as to leave the parties with reference to the distribution of the receipts from the parking meters between December 20, 1946, and April 27, 1947, in the position they were at the time this action was commenced.
Reversed.