court of appeal, fourth district, division 2, california.
save the welwood murray memorial library committee, etc., plaintiff
city council of the city of palm springs, et al., defendants and appellants.
nov. 16, 1989.
as modified dec. 1, 1989.
nonprofit unincorporated association, which was formed to save public library, filed petition for writ of mandate to prevent sale of library property to developer. the superior court, riverside county, noah ned jamin, j., entered judgment directing that writ of mandate issue to compel city to vacate and set aside participation agreement between city and developer. city appealed. the court of appeal, mcdaniel, j., held that: (1) proposed use of library property for dining tables, chairs and related equipment and to provide open area for pedestrian traffic from nearby streets to commercial development was not consistent with library purposes; (2) writ did not impermissibly intrude upon relevant administrative bodies' discretion as to use of library property; and (3) declaratory and injunctive portions of judgment, with one modification, were legally justified.
modified and affirmed.
 mandamus 187.2
250k187.2 most cited cases
appeal does not lie from peremptory writ of mandate.
 covenants 49
108k49 most cited cases
applicable test for determining whether proposed use of property, which was deeded to city for use as library, was permissible was whether proposed use would "directly contribute" to the dedicated purpose, not whether proposed use was "consistent" with the dedicated purpose; where grant deed is for specified, limited and definite purpose, subject of the grant cannot be used for another and different purpose.
 covenants 49
108k49 most cited cases
proposed use of property for dining tables, chairs and related equipment and to provide, open area for pedestrian traffic from nearby streets to commercial development was not consistent with library purposes and, thus, proposed use was not permissible for property, which was deeded to city for use as library; proposed use did not directly facilitate the acquisition, retention, storage and use of books, manuscripts and similar materials.
 mandamus 83
250k83 most cited cases
writ of mandate compelling city to vacate and set aside participation agreement with developer concerning use of property deeded to city for use as library did not impermissibly intrude upon relevant administrative bodies' discretion as to use of the property; language of writ did not prevent city from removing sections of library, from conveying easements or other legal rights over the property or from otherwise undertaking any acts necessary for library purposes, but rather, merely commanded city not to undertake any actions if they were done primarily for nonlibrary purpose or if they interfered with library use.
 mandamus 178
250k178 most cited cases
writ of mandate, which compelled city to vacate and set aside participation agreement with developer regarding use of property deeded to city for use as library had to be modified to afford city right to pursue temporary "interferences" with library use when temporary interference is done primarily for library use.
 dedication 64
119k64 most cited cases
public trust is created when property is held by public entity for benefit of general public.
 dedication 64
119k64 most cited cases
any attempt to divert use of property, which was deeded to city to be used by city for benefit of general public as public library, from its dedicated purposes or uses incidental thereto would constitute ultra vires act.
 injunction 77(1)
212k77(1) most cited cases
injunction would not lie to prevent city from making express legislative determination that it would be in best interests of city and its citizens to cease using property, which was deeded to city for use as library, for library purposes and to allow property to revert to grantors' heirs; however, injunction would lie to enjoin city from undertaking acts which would constitute breach of the conditions and covenants in the deed, even if the acts were authorized as part of legislative decision, when those acts would result in loss of property held for public benefit without express legislative determination that loss of the property was in the public's best interests.
 mandamus 190
250k190 most cited cases
nonprofit unincorporated association, which was formed to save public library and which filed petition for writ of mandate to prevent sale of library property to developer, was entitled to attorney fee award and to further award of fees for defense of judgment on appeal, after judgment, which directed that writ of mandate issue to compel city to vacate and set aside amended participation agreement with developer, was affirmed. west's ann.cal.c.c.p. § 1021.5.
*1005 **897 oliver, stoever, barr & einboden, thomas w. stoever and william j. adams, city atty., for respondents and appellants.
lynn d. crandall, for petitioner and respondent.
*1006 mcdaniel, associate justice.
the city council of the city of palm springs, together with the city of palm springs (collectively referred to as city), has appealed from a judgment directing that a writ of mandate issue to compel city to vacate and set aside the second amended participation agreement (the second agreement) between city and wessman development company (the developer). such judgment declared that city could not take certain actions related to city-owned real property on which a public library is located, and it further enjoined city and its agents and employees from undertaking such actions in the future.
the city of palm springs owns certain real property within its corporate limits on the southeast corner of tahquitz way and south palm canyon drive. this property, which will be referred to as "the library property," is the site of the welwood murray memorial library.
the library property was acquired by city by two grant deeds. the first deed, executed in 1938 by george welwood murray and may d. murray, provided in relevant part that:
"now this conveyance is made upon the express agreements and conditions herein contained:
"(1) the grantee agrees that if this conveyance is made it will, either directly or through the palm springs library association, continue and forever maintain the palm springs free public library above mentioned in and on buildings which are now or may be hereafter placed on the property hereby conveyed and will to that **898 end itself expend, or in the alternative furnish for expenditure by said library association, the sum of at least two thousand dollars in each year beginning with the year 1940, and that until the year 1940 at least two thousand dollars each year will be expended for the maintenance of said library by said library association, or said city of palm springs.
"(2) that the buildings [sic] or buildings upon the said plot of land hereby conveyed and the library thereon contained shall forever be designated and known as the 'welwood murray memorial library' and shall bear a clearly legible inscription upon a bronze tablet or otherwise to that effect.
"in case any agreement or condition of this deed shall be violated or shall fail to be observed and fulfilled by the grantee and the same shall continue *1007 in default for the space of three months, this deed and the conveyance thereby made shall be void and of no effect and all title to the property and rights hereby conveyed shall instantly revert to the grantor, george welwood murray, his heirs and assigns."
thereafter, the question of the acceptance of this deed and the execution of an agreement by city to facilitate the carrying-out of the deed's conditions was submitted to, and approved by, the qualified electors of city.
the second deed, executed in 1940 by cornelia b. white, provided, in relevant part:
"this conveyance is made upon the condition that the said city of palm springs either directly or through the palm springs library association, establish within two years from and after the date herein, a free public library in buildings to be erected upon that certain real property situate at the southeast corner of palm canyon drive and tahquitz drive, measuring 80 feet north and south by 100 feet east and west, of which the parcel herein granted is a part. in case the said condition of this deed is breached by the city of palm springs, and such breach continue for a continuous period of ninety days, then the conveyance hereby made shall be and become void and of no effect, and all title to the property and rights herein described, shall instantly revert to the grantor, her heirs or assigns."
thereafter, a building for use as a public library was constructed on the library property, and that building continues to exist to this day as a public library.
in december 1986, city and its redevelopment agency entered into an agreement with wessman construction company (the developer), which agreement will be referred to as the amended and restated participation agreement. the amended and restated participation agreement provided that the developer was to purchase the library property from city and make it part of the commercial development surrounding the library property, which commercial development the developer was to rehabilitate as part of a plan of redevelopment. under this agreement, the famous (at least locally) restaurant, louise's pantry, was to be relocated "to the library," thereby providing a larger opening in front of the plaza theatre, which was ultimately to be remodeled as a shopping arcade.
thereafter, the save the welwood murray memorial library committee, a nonprofit unincorporated association formed for a self-explanatory purpose (the committee), filed a petition for a writ of mandate (case no. 51176) to prevent the sale of the library property to the developer. a hearing on this petition was scheduled for october 2, 1987.
*1008 on september 8, 1987, the city council adopted enabling legislation related to the conveyance of the library property in accordance with the amended and restated participation agreement. the committee promptly began collecting signatures on referendum petitions to require the enabling legislation be put to a vote of the electors. under election code sections relating to referenda, the committee had 30 days within which to gather the necessary signatures, or until october 8, 1987, six days after the scheduled hearing on its petition for a writ of mandate.
because city had taken the position that the enabling legislation is not subject to **899 referendum, the committee feared that city would contend that it would be free to sell the library property if it were successful at the october 2, 1987 hearing, even though the 30 day period for collecting signatures had not yet expired. the committee therefore filed a second action (case no. 51525, referred to hereafter as the second action) in which it sought a temporary restraining order against the sale, based upon authorities related to referenda and on the fact that it believed the matter to be subject to referendum and that the sale should be restrained until the referendum process had been completed.
on september 29, 1987, the trial court in the second action issued a temporary restraining order enjoining the sale of the library property until the referendum process could be completed. thereafter, the city council repealed the enabling legislation when it became apparent that the referendum petitions had been signed by enough voters to require an election.
in due course, a hearing was held on the petition for a writ of mandate, and the trial court took the matter under submission. the committee then filed a motion in both actions seeking attorneys' fees under the private attorney general doctrine pursuant to code of civil procedure section 1021.5.
while the trial court still had the petition under submission, the committee learned that city had entered into a "second amended and restated participation agreement" under which the city would not sell the library property, but instead would raze part of the library building, open up an enclosed rear patio area then used to house books and provide space for library patrons (which area faced the proposed commercial development) and grant the developer an easement over the exterior portions of the library property for the purpose of placing dining tables, benches, equipment, and decorative items.
the committee went back to court and moved to reopen the first action for the purpose of filing a supplemental petition related to this second *1009 agreement, which agreement it also believed to be contrary to the purpose for which the library property had been granted to city. pursuant to a stipulation between the parties, the matter was reopened, a supplemental petition was filed, and the issues raised by the second agreement were briefed and argued by counsel.
thereafter, the trial court announced its intention to enter judgment in favor of the committee as to its petition for a writ of mandate, and also announced its intention to award the committee its attorneys' fees in both actions. counsel for the committee prepared and submitted a proposed judgment, and city responded by filing objections to the judgment as proposed.
before the trial court could sign and file the judgment, the committee learned that city was in the process of preparing a draft of a proposed "third amended and restated participation agreement," as well as a draft of a staff report and proposed resolutions for action by the city council and redevelopment agency related to the proposed third participation agreement. the third participation agreement provided for the granting of an easement to the developer over the library property for any purpose related to the adjoining commercial development, including the placement of dining tables, chairs and related equipment, the remodeling of the library property in accordance with plans and specifications to be approved by city at some later date, and the razing of approximately four feet of the library building's southern side. the proposed third participation agreement also required city to appeal the then-as-yet-unentered judgment in the committee's proceeding for a writ of mandate.
based on the existence of this proposed third participation agreement, the committee again went back to court and obtained an order to show cause and temporary restraining order which enjoined and restrained the city and its agents, officers, servants and representatives from:
"1. entering into and executing a proposed third amended and restated redevelopment participation agreement (the 'proposed third amended agreement') substantially in the form of that which was **900 available to the public at the office of the city clerk of the city of palm springs on april 4, 1988, a copy of which is attached hereto, or
"2. from entering any agreement which otherwise provides for:
(i) the granting of an easement over exterior portions of the parcels on which the welwood murray memorial library is situated (the 'library property'), or; (ii) the removal of any portion of the structure known as the welwood murray memorial library, or; (iii) the requirement by contractual *1010 provision that the city appeal the judgment in this action, not yet signed or entered. provided, however, this order shall not prevent the persons sought to be restrained hereby from entering into the proposed third amended and restated redevelopment participation agreement ... if it contains substantially the following language:"
the order then stated that the third participation agreement could be signed if it contained language acknowledging the existence of the then-pending proceeding for a petition for a writ of mandate, and that in the event the final disposition of that lawsuit allowed city to modify the library property as it and the developer desired, it could do so, but that otherwise the developer would not terminate the participation agreement.
on june 1, 1988, judgment was entered in the first action in favor of the committee. the judgment ordered that a peremptory writ of mandate issue commanding city to vacate and set aside the second agreement insofar as that agreement related to the library property. the judgment also enjoined city from undertaking, and declared that it was without power to undertake, the following acts:
"(i) razing a portion of the building located on the library property consisting of approximately the easterly 32 feet thereof; (ii) removing two enclosed rear areas of the library building known as porches; (iii) razing a portion of the building on the library property consisting of approximately the southerly 4 feet, 4 inches thereof; (iv) conveying an easement or any other legal right over the exterior portions of the library property, including areas of the rear patio of the library property which have heretofore been enclosed, and; (v) any other act done primarily for a non-library use or which otherwise interferes with library use on the library property. this judgment is not intended to prevent an opening of the rear area of the library property by removing existing fencing provided that no commercial activity or other non- library use shall be permitted or allowed by respondents on the library property."
the trial court also awarded the committee attorneys' fees pursuant to code of civil procedure section 1021.5.
on august 12, 1988, city filed its notice of appeal from "the peremptory writ of mandate entered on july 12, 1988." it now makes the following assignments of error:
(1) the proposed use of the library property is consistent with library uses;
(2) assuming, arguendo, that the proposed use of the library property is a breach of the public trust, the writ intrudes upon the library's administration's discretion;
*1011 3) the injunctive relief here afforded is inappropriate;
(4) the declaratory relief portion of the judgment is an abuse of discretion; and
(5) the court erred by awarding attorneys' fees pursuant to code of civil procedure section 1021.5.
does an appeal lie from a peremptory writ of mandate?
 we first note that an appeal does not lie from a peremptory writ of mandate. we therefore construe the notice of appeal to be from the judgment of june 1, 1988, which directed that the writ issue. (karrell v. watson (1953) 116 cal.app.2d 769, 772-773, 254 p.2d 651.)
all too often counsel fail to consider whether the adjudication from which they have appealed (an order, a ruling, or decree) **901 is, in law, appealable. california rules of court, rule 13 has been amended to require, effective july 1, 1989, that an appellant's opening brief contain a statement either that the appeal is taken from a judgment which finally disposes of all issues between the parties to the appeal or a statement explaining why the order or judgment appealed from is otherwise appealable. this later statement, presumably, would contain some citation to authority for the proposition that the order or judgment is appealable.
while this rule may have some salutary effect on the number of defective appeals which reach the court of appeal, it is our view that it would be even more effective to require that all notices of appeal contain such a statement. requiring such a statement at the earliest possible stage of the appellate process would prevent the preparation of unnecessary records and, if counsel prepared the notice of appeal somewhat ahead of its final due date, it might also prevent counsel from mistakenly failing to file a timely notice of appeal from the order or judgment which is actually appealable.
we therefore suggest, for future application, immediately upon learning of an adjudication, ruling, order, judgment or similar item which is contrary to the relief requested or position asserted by counsel, that counsel promptly peruse code of civil procedure sections 901 et seq., volume 9 of witkin on california procedure, and/or any statutory scheme related to the area of practice involved (such as ceoa or administrative mandamus) to determine: (1) whether the adjudication, ruling, order, judgment or similar item is *1012 appealable and (2) within how much time must the notice of appeal be filed. we further suggest, after having done such research, that counsel incorporate it in the notice of appeal by specifically asserting that the adjudication, ruling, order, judgment or similar item is appealable and by citing the authority which supports such assertion.
we turn now to the issues raised by city.
is the proposed use of the library property consistent with library purposes?
 according to city, the proposed use of the library property (for dining tables, chairs, and related equipment, and to provide an open area for pedestrian traffic from the nearby streets to the commercial development) is consistent with library purposes and in fact will contribute to the use of the property for such purposes. however, the applicable test is not whether a proposed use is "consistent" with the dedicated purpose, or whether it will "contribute" to such purpose, but whether the proposed use will "directly contribute" to the dedicated purpose.
the law is clear that "where a grant deed is for a specified, limited and definite purpose, the subject of the grant cannot be used for another and different purpose. [citations.]" (roberts v. city of palos verdes estates (1949) 93 cal.app.2d 545, 547, 209 p.2d 7.)
in roberts, the city of palos verdes had acquired certain land which had been deeded to the city on the condition that it be used exclusively for park purposes. the deed provided that no buildings were to be erected on the property except those which the park department might determine were "properly incidental to the convenient and/or proper use of said realty for park purposes." (id., at p. 546, 209 p.2d 7.)
the city began construction on the property of buildings to house city-owned trucks and vehicles used for improvement and maintenance of park property. the city admitted that some of these vehicles were also used for the maintenance of other city property. plaintiff sued for injunctive relief to stop the construction, alleging that it violated the restrictions in the deed. the trial court entered judgment to the effect that the city could construct buildings on the property only if they were used to house vehicles and equipment used exclusively for the care, maintenance and upkeep of any city park property.
plaintiff and defendant city both appealed from this judgment. plaintiff contended the city should not be allowed to construct any buildings; the *1013 city contended **902 it should be allowed to house vehicles and equipment in such buildings even if the vehicles and equipment were also used to maintain other city property in addition to the city parks.
the reviewing court reversed, holding that the city was in essence attempting to add the word "indirectly" to the deed's restrictive provisions, i.e., that the city was arguing, if structures or concessions were indirectly "incidental to the convenient and/or proper use of said realty for park purposes," that such structures would not be in violation of the deed restrictions. the appellate court refused to read the word "indirectly" into the deed: "obviously such contention cannot be upheld. courts have guarded zealously the restrictive covenants in donations of property for public use as the foregoing cited decisions will reveal. such an effort on the part of a municipality if successful may be but the opening wedge and, as stated in kelly v. town of hayward, supra, [ (1923) 192 cal. 242, 219 p. 749], 'some future board might claim that under their discretion a corporation yard and rock-pile for the employment of prisoners, and other very useful adjuncts to the administration of the economic affairs of the town, might be located thereupon, until the entire space was fully so occupied.
"what a city council or board of trustees would like to do under whatever guise it may be proposed is not the test as to the validity of the proposal. the terms of the deed alone are controlling.
"unless the buildings directly contribute to the use and enjoyment of the property in question for park purposes, there exists a violation of the restrictions." (id., at p. 548, 209 p.2d 7.)
the appellate court then held that the judgment thus went beyond the restrictions in the deed when it purported to give the city the right to house equipment and vehicles to be used for park purposes other than for the purposes of the particular park dedicated and described in the deed. it reversed the judgment and remanded the matter for retrial on the sole issue of whether the buildings would be necessary and appropriate, and hence "incidental to the convenient and/or proper use of said realty for park purposes," with "park" understood to mean the park described in the deed.
the holding in roberts was expanded upon in the more recent case of big sur properties v. mott (1976) 62 cal.app.3d 99, 132 cal.rptr. 835. in that case, big sur properties filed a petition for a writ of mandate to compel the state department of parks and recreation to consider its application for an access permit to extend a road across julia burns pfeiffer state park to big sur properties' private property. the department had refused to consider *1014 the application because of restrictions contained in the deed by which helen hooper brown had granted the park property to the state.
the deed from helen hooper brown provided, in relevant part, "said real property shall be used in perpetuity as a public park and for all lawful uses incidental thereto, except those uses, whether or not incidental thereto, which are expressly prohibited by the terms, covenants and conditions hereinafter set forth." the restriction giving rise to the action provided "notwithstanding the provisions of public resources code section 5003.5, or any germane amendment thereof or similar statute, no private right of way for vehicular travel or for the purpose of transporting, hauling or conveying timber, logs, tanbark or any other product produced by logging operations on privately-owned land shall ever be granted to any person, firm or corporation upon or across any portion of the property.... this provision shall not impair or affect grantee's authority under said section 5003.5 to provide means of ingress to and egress from said real property to provide ready access thereto by the public." (id., at p. 102, 132 cal.rptr. 835, fn. omitted.)
the trial court refused to issue the writ, and big sur properties appealed. the appellate court affirmed, holding that the public trust upon which the state holds such dedicated land prohibits private access **903 rights-of-way when the property is dedicated exclusively to public park purposes.
quoting the roberts case as it involved the requirement that a proposed use must directly contribute to the use and enjoyment of the property for the purposes for which the property was dedicated, big sur properties noted, in determining what is "a park purpose[,] we do not look to the type of structure erected, but rather, to the use of that structure in relation to the park. it seems fundamental that a right-of-way for private access across park land to private property beyond the borders of the park cannot possibly be incidental to its use as a public park." (id., at p. 104, 132 cal.rptr. 835.)
the big sur properties court also based its affirmance of the judgment denying the writ on another basis: "further, 'where uncertainty exists consideration may be given to the consequences that will flow from a particular interpretation.' [citation.] clearly, the consequences of the application of section 5003.5, and other similar regulations [which big sur properties had argued must override restrictive dedications], to defeat the public trust doctrine would result in a policy discouraging such gifts to the state for park purposes. such an unwise intended result is not to be readily implied where another construction is possible. [citation.]" (id., at p. 105, 132 cal.rptr. 835.)
 here, city applies these principles to the facts extant and concludes that "it is apparent that the proposed use of the library property pursuant *1015 to the participation agreement is in fact 'reasonably incidental' to the main object of the dedication and does 'directly contribute to the use and enjoyment of the dedicated property.' [citations.]" according to city, this direct contribution to library purposes is shown by the fact that: (1) the agreement provides for "substantial improvements" to the library building; (2) the proposed alterations "would dramatically increase the flow of pedestrian traffic around the library" (our emphasis); (3) the development would entirely remodel "the open space area which is now enclosed, underutilized and is in a deteriorated condition," (this "open space area" consists of two rooms lined with bookshelves filled with books and used by library patrons); and (4) the agreement provides for the "installation of decorative paving, benches, tables, fountains, trees and planters," which "would greatly improve and aesthetically enhance the patio area of the library."
webster's third new international dictionary, copyright 1961, defines a library as "a room, a section or series of sections of a building, or a building itself given over to books, manuscripts, musical scores, or other literary and sometimes artistic materials (as paintings or musical recordings) usu. kept in some convenient order for use but not for sale...." (id., at p. 1304, col. a.) it is thus apparent, in order to meet the rule set out in roberts, big sur properties and similar cases, that a proposed use must directly contribute to the use and enjoyment of the property for library purposes: e.g., the proposed use must directly facilitate the acquisition, retention, storage and use of books, manuscripts and similar materials. the use proposed by city in no way directly contributes to these purposes, and, actually, in at least one way, is antithetical to such purposes, for the proposed use would destroy parts of the building where books are stored and used.
in addition, the proposed use is obviously designed to enhance the uses to which the developer intends to put the surrounding commercial property, namely, to enhance the use of such property as restaurants and retail businesses by providing pleasant areas in which to walk, eat and converse, and by increasing the flow of pedestrian traffic around the library and into the "foot traffic" area of the restaurants and retail stores. it is a matter of common knowledge, and one not reasonably subject to dispute, that such activities, agreeable as they may be, do not directly contribute to the use of the materials found in libraries, and that in fact such activities are usually considered incompatible with library purposes because they are distracting (conversing) or potentially harmful to the books or library furnishings (eating). perhaps **904 implicit in the plan to open up the courtyard area is the idea that library patrons will be able to sit outside and enjoy the beautified surroundings. however, there is no evidence in the record before us that *1016 such increased enjoyment will contribute, either directly or indirectly, to the use of the library or its contents.
finally, and perhaps most notably, the plan to grant the developer an easement over the library property for the uses outlined in the various participation agreements, if executed, obviously would effectively bar the use of the subservient tenement for the construction of additional library wings or rooms should they be needed. such a result is clearly in violation of the restriction contained in the 1938 murray deed, which required city to "forever maintain" the library "in and on buildings which are now or may be hereafter placed on the property." (emphasis added.)
does the writ impermissibly intrude upon the relevant administrative bodies'
discretion as to the use of the library property?
 city contends that the language of the writ is too broad, and that it prevents city or the relevant agencies from exercising their discretion as to the best use of the library property for library purposes. not so. the language of the writ does not prevent city from removing sections of the library, from conveying easements or other legal rights over the library property or from otherwise undertaking any acts necessary for library purposes. it merely commands city not to undertake any such actions if they are done primarily for a nonlibrary purpose or if they interfere with library use.
 however, the last phrase of the paragraph complained of, "(v) any other act done primarily for a non-library use or which otherwise interferes with library use on the library property" (emphasis added), is arguably ambiguous, in that certain acts, for example remodeling, may be done primarily for a "library use," and yet nonetheless will certainly "interfere," albeit temporarily, with library use. we shall therefore modify the judgment to afford city the right to pursue such "interferences" with library use without risking a violation of the court's order.
is injunctive relief inappropriate in the instant case? is the declaratory
relief portion of the judgment an abuse of discretion?
although city did not raise this issue, we are concerned about the extent of a court's power to enjoin a legislative body's decision-making authority. civil code section 3423 provides, in relevant part, that "[a]n injunction can not be granted: ... seventh --[t]o prevent a legislative act by a municipal corporation." (emphasis in original.) however, *1017code of civil procedure section 526 provides, also in relevant part, that "[a]n injunction may be granted in the following cases: ... 7. where the obligation arises from a trust."
 a public trust is created when property is held by a public entity for the benefit of the general public. (see big sur properties v. mott, supra, 62 cal.app.3d 99, 104, 132 cal.rptr. 835, 89 c.j.s. trusts, § 19.) here, title to the library property is held by city to be used by city for the benefit of the general public as a public library. any attempt to divert the use of the property from its dedicated purposes or uses incidental thereto would constitute an ultra vires act. (big sur properties v. mott, supra, 62 cal.app.3d at p. 99, 132 cal.rptr. 835.)
thus, it would be proper not only to issue an injunction to enforce the obligation arising from the existence of the public trust, i.e., to enforce city's obligation to use the property as a public library, but also to prevent an ultra vires, and hence nonlegislative, act. (see id.; see also pughe v. lyle (1935) 10 f.supp. 245, 248: "where public officers act in breach of trust or without authority, or threaten to do so, and such acts will result in irreparable injury, or will make necessary a multiplicity of suits at law to obtain adequate redress, they may be enjoined. see 32 cor.jur. 240, 88, 247, 261, 264; and cases there cited." see also **905stanson v. mott (1976) 17 cal.3d 206, 130 cal.rptr. 697, 551 p.2d 1, holding that if a taxpayer can prove that an expenditure of public funds is improper, she is entitled to a declaratory judgment to that effect and to injunctive relief if similar expenditures are threatened in the future, and code of civil procedure section 526a, allowing taxpayers to seek injunctive relief against public officials to prevent illegal expenditure of, waste of, or injury to, public property.)
 the two rules: (1) that legislative action may not be enjoined, but (2) that breach of a trust may be enjoined, when read together, compel the following conclusion. an injunction will not lie to prevent city from making an express legislative determination that it would be in the best interests of city and its citizens to cease using the property for library purposes, and to allow the property to revert to the grantors' heirs, but an injunction will lie to enjoin city from undertaking acts which would constitute a breach of the conditions and covenants in the deed here, even if such acts are authorized as part of a legislative decision (such as city's execution of the participation agreements here), when those acts will result in the loss of property held for the public benefit without an express legislative determination that the loss of such property is in the public's best interests.
otherwise, city has conceded that no case law can be found which holds that both mandamus and injunctive relief may not be dispensed in the same *1018 case, and it has also failed to point out how the issuance of declaratory and injunctive relief, in addition to the writ of mandate, even if erroneous, has resulted in any prejudice to it. the declaratory and injunctive portions of the judgment exactly duplicate the provisions of the writ, and we have concluded that those provisions, with the one modification noted above, are legally justified.
did the trial court err by awarding attorneys' fees pursuant to code of
civil procedure section 1021.5?
 the city's only argument as to the propriety of the award of attorneys' fees was that if the judgment below should prove incorrect, then the award of fees should be reversed. the judgment below will be affirmed, and so the committee was entitled to its award of fees by the trial court, and, under the same theory, a further award of fees for the defense of its judgment on appeal.
the judgment is modified as to item (v) of the judgment to add the language, "this judgment is also not intended to prevent maintenance, repair or remodeling of the library building for library purposes." the committee is awarded its costs and attorneys' fees on appeal.
certified for publication.
campbell, p.j., and dabney, j., concur.
263 cal.rptr. 896, 215 cal.app.3d 1003
end of document