Appellant Lerner, owner and lessor of premises known as the Evans Hotel, situate on Broadway at Front Street in San Francisco, appeals from a judgment in favor of respondents that declared a lease dated April 6, 1951, void and determined that no enforceable rights or duties subsisted thereunder. Respondents Shephard were the lessees and Kircher and Pennebaker were guarantors of performance of lessees’ obligations under the lease. For some five years prior to the date of the lease Kircher and Pennebaker had operated the premises as a hotel and apartment house under a preexisting lease executed in 1946. The evidence shows that the structure was built originally as a hotel with store rentals on the ground floor. In 1941 it had fallen into disuse for hotel purposes and was in a state of general dilapidation. Thereafter many of the large exterior rooms were divided by the erection of single panel tongue and groove partitions and apartments were formed by combining two to five rooms. There were originally some 240 rooms of which 147 had been combined to make 55 apartment rentals. Gas ranges without vents and some sinks were installed therein, though in some apartments there was no water and others used existing basins as sinks. There were four toilets on each floor, three allocated to men and one to women. In 1946 Kircher and Pennebaker leased the premises and commenced a program of cleaning and largely decorative rehabilitation of unused hotel rooms and the use of the structure for hotel and apartment rentals was continued by them until they assigned their lease to the Shephards, at or about which time the new lease was executed for which they became guarantors. No structural changes appear to have been made during the Kircher and Pennebaker occupancy. At the time of the execution of the new lease the Shephards demanded an addenda thereto that was prepared by appellant’s counsel and recited that the use of gas stoves then in the premises should not be deemed a violation of the lease and that the Shephards were authorized “to use the said premises in substantially the same manner and for the same purposes” as the premises had been used by Kircher and Pennebaker.
In 1954 the Health Department of the City and County of San Francisco ordered the discontinuance of use of all stoves in all of the rooms of the hotel and the vacation of use of 126 of the rooms in their then condition. A condemnation action was eventually filed against the premises involving numerous *749 violations of both municipal code and State Housing Act. Without detailing the violations found to exist they included lack of one hour fire-resistive construction in partitions, floors and ceiling in many areas throughout the building; lack of toilet facilities in apartments; lack of ventilation or flues for gas stoves and plates; lack of door separating kitchen from living and bed rooms in many apartments; lack of approved fire alarm system; unenclosed stairways and lack of stairway to roof, etc. During the pendency of the condemnation proceedings, respondents filed their action for declaratory relief alleging a controversy as to whether they were absolved from the lease by virtue of “legal frustration’’ and generally for a declaration of the obligations of the parties. Appellant filed a cross-complaint to recover rental for the entire remainder of the term of the lease and also for damages, alleging $5,000 for failure to restore and maintain master and hidden plumbing and $50,000 for deteriorations permitted and alterations made without her consent.
The trial of the condemnation was consolidated with the trial of the issues framed by the pleadings involved herein. In effect, the trial court found that the premises had been converted from hotel to apartment uses prior to the execution of the leases without permit or compliance with structural regulations affecting such change; that the lease was knowingly made by both parties to continue hotel and apartment uses in contravention of both local ordinances and state statutes governing the same; that the parties were in pari delicto and, as it was a contract for an illegal purpose, no enforceable rights or duties arose thereunder.
The appellant contends that the finding of illegality is contrary to both the facts adduced in evidence and the law in that the lease contained a provision requiring the tenant to maintain the premises in good order, do all necessary repairs and, also, to comply with all requirements of federal, municipal and state authorities in force at the time of its execution or which might be enacted thereafter. It is argued that if the tenants had complied with these provisions there could be no illegality in the rentals for hotel, apartment or store uses. Distinguishing between unlawful purposes (prostitution, gambling, etc.) contemplated by a lease and lawful purposes (store, hotel, etc.) carried on in an unlawful manner, many cases are cited for the obviously sound proposition that in the latter instance the contract is not illegal or void.
(Wayman Investment Co.
v.
Wessinger,
Because the contract cannot be enforced without reliance upon the illegal transaction, appellant’s contentions based upon theories of (a) unjust enrichment; (b) the general obligations of tenants to keep premises in repair; and (c) the exceptional cases in which courts will enforce an executed illegal contract, do not require comment except to note that the last theory is supported by the citation of cases wherein the contracts had in fact terminated and new promises of accounting and payment were made between partners to illegal transactions; also, there were no rights of third persons to be protected.
(Denning
v.
Taber,
The judgment is affirmed.
Kaufman, P. J., and Draper, J., concurred.
A petition for a rehearing was denied August 17, 1960, and appellant’s petition for a hearing by the Supreme Court was denied September 11, 1960.
Notes
Assigned by Chairman of Judicial Council.
