Plaintiff, the Metropolitan Water District of Southern California, seeks to collect approximately $30,000 which is being held in the treasury of the county of Riverside and which, it is claimed, belongs to the water district. The moneys involved constitute interest on funds which were deposited with the clerk of the court at the commencement of proceedings in eminent domain, in accord with constitutional provision, as security in order to obtain immediate possession and use of the subject land. The amounts deposited in court were turned over to the treasurer of the county of Riverside who deposited the money in various banks where it drew the interest now the subject of controversy. The water district filed its application for “return” to it of the interest as a part or continuation of the eminent domain proceedings, and at that time brought in as parties to the action the clerk of the superior court, the county auditor and the county treasurer of the county of Riverside, hereinafter referred to as “respondents.”
The trial court denied the plaintiff’s application on the ground that if the water district did have a cause of action against the county officials above mentioned for the alleged interest, it could proceed only in a separate and original suit against those parties. We have concluded that moneys deposited with the court as in the nature of security or a cash loud in order to gain possession of the subject, property in eminent domain proceedings are legally in the custody and within the control of such court and that any interest paid on such moneys by a bank in which they are deposited attaches in ownership to the owner of the moneys and, being in the custody of the court, is, like the principal sum, subject to the court’s control. A separate action to determine the disposition of such interest is, therefore, under the circumstances of this case, unnecessary. We further conclude that in making *623 the bank deposits, the county treasurer was representing the court and, acting as the court’s ex-officio treasurer, was depositing moneys belonging to the water district.
Plaintiff water district, a public and municipal corporation, instituted, in the period from 1934 to 1936, four actions in eminent domain to condemn an aggregate of some 400 parcels of land in Riverside County to be used as a reservoir site. After filing the complaints in eminent domain and in order to gain immediate possession and use of the land, the water district, pursuant to section 14 of article I of the Constitution, deposited with the clerk of the superior court in the county of Riverside sums of money for the various parcels aggregating approximately $500,000. The court maintained a record of such funds, hereinafter sometimes referred to as “security deposits,” under an account entitled “Trust Fund.” These moneys were turned over to the treasurer of the county of Riverside who commingled them with other funds and within a short time thereafter deposited all the funds in various banks in the immediate area.
In making such bank deposits the county treasurer assertedly.acted pursuant to the Depositary Act (Stats. 1933, p. 642; 1 Deering’s Gen. Laws, Act 2834a) which provides in section 1 that “All moneys belonging to or in the custody of any county, city and county, ... or other public or municipal corporation within the State, including all moneys . . . paid to the treasurer of any county ... or other official having authority to . . . receive the same, for the payment of principal, interest or penalties of bonds required by law ... to be paid to . . . such . . . official . . . shall, so far as possible, be deposited in such State or National bank or banks ... as the treasurer of the county, city and county, ... or other official having the legal custody thereof, shall select for safekeeping of such deposits, and any sum so deposited shall be deemed to be in the treasury of such county, city and county, town, municipality or other public or municipal corporation . . . Such depositary bank or banks shall be selected from those agreeing to pay the highest rate of interest . . . for such deposits . . . Such deposits, with interest thereon, shall be subject to withdrawal at any time upon the demand of the treasurer or other authorized official [subject to certain immaterial notice requirements in the case of inactive or term accounts].” (Italics added.)
*624
The condemnation suits proceeded to trial and judgment was rendered on the issues of compensation and damage to the property owners. In
Metropolitan Water District
v.
Adams
(1940),
No insurmountable problem is presented regarding the amount of interest attributable to the deposits. Because of the commingling and the procedure followed by the county treasurer, it is impracticable if not impossible to trace or identify the particular funds deposited with the court by the appellant and to determine the exact amounts of interest received by the county for the use of those specific funds for the various periods. There is evidence, however, as to the total amounts on deposit from time to time in various banks and the amount of interest earned thereon, and the amount of court deposits or “security deposits” in the hands of the county treasurer at various times. Using a proportionate share theory, the interest fairly allocable to the funds deposited by the water district apparently can be determined with reasonable accuracy.
When all defendant property owners had been paid and the cases were otherwise concluded, the plaintiff water district asked for a return of the unwithdrawn money deposited as security at the commencement of the actions. By March, 1942, the principal of all moneys so deposited had been returned to the water district. On March 7, 1944, the district filed “an application for orders for return to plaintiff of interest earned on moneys deposited by plaintiff in court as security to enable plaintiff to take immediate possession and use of the properties under condemnation, and for order to show cause why such orders should not be made.” Requested *625 were an order directing the clerk of the court to withdraw moneys on deposit and to return and pay same to the plaintiff and an order directing the county auditor to draw a warrant on the treasurer in favor of the plaintiff for the 1 ‘ said amount ’ ’ and directing the treasurer to honor such warrant. In a memorandum opinion the trial judge denied the plaintiff’s application, stating that the judgments in the eminent domain proceedings had become final, that no moneys remained on deposit which were originally deposited to gain possession and that, if the water district is entitled to share, in the interest received by the county treasurer on his bank accounts, it must proceed in separate actions brought against the proper parties.
If for any reason the original deposits for security or a part thereof had remained in the court’s custody, it is conceded by the defendants that the water district could have applied for withdrawal of the same even after judgment became final. As said in
G. H. Deacon Inv. Co.
v.
Superior Court
(1934),
The superior court has no treasury or treasurer of its own and the Legislature has directed that “Whenever money is paid into or deposited in the court, the same must be delivered to the clerk . . . [who] must, unless otherwise directed by law, deposit such money with the county treasurer, to be held by him subject to the order of the court.” (Italics added; Code Civ. Proc., § 573.) Also relating to deposits with the court is section 188 of the Code of Civil Procedure which provides, “When money is deposited with the clerk ... of any court ... or when any money is to be paid to the treasurer pursuant to any provision of this code, such money shall be forthwith deposited with such treasurer and a duplicate receipt of the treasurer therefor shall be filed with the auditor . . . When any money so deposited is to be Withdrawn or paid out, the order directing such payment or withdrawal shall require the auditor to draw his warrant therefor and the treasurer to pay the same.”
Prior to the determination of the applicability of the Depositary Act to moneys deposited with the county treasurer pursuant to the above noted section of the Code of Civil Procedure, it is necessary to clarify the status of the moneys on deposit as security and to assign to the public bodies their Various interests therein. It must be kept in mind that the water district deposited the moneys pursuant to a statute the pertinent purpose of which is to protect the defendant property owners against any failure by plaintiff to comply with such judgment as may eventually be rendered. All that the court can claim in the funds is the naked security title which it holds for the property owners. The court obtained possession, but it had no right to make use of the funds other than for the limited purpose for which they were deposited; all that it could do, in the absence of default by plaintiff, was hold the funds in safekeeping to be returned to the plaintiff water district when and if it (the district) met all its obligations regarding the land of defendant property owners. The plaintiff, for loss of possession and use of the moneys, in one sense may be said to have gained the inf-mediate use and possession of the lands, but for title to those lands it was required to pay the actual value, together
*627
with interest thereon from the date of taking; actually the money deposited is essentially in the nature of a cash bond and unless and until the condemnor does something to warrant the court’s turning the funds over to the defendant property owners, the money remains the district’s property. As stated in
G. H. Deacon Inv. Co.
v.
Superior Court
(1934),
supra,
The respondents argue that the deposits do hot belong to the water district because while in* the hands bf the court it is impossible to determine to whdm they "Will gb eventually. To whom the “security deposits” might eventually be “transmuted” is not the question here. The defendant property owner has the legal right to have .adequate deposits maintained as in the nature of a cash bond or security to assure the payment of the final judgment but he has no ownership or right of possession or other interest whatever in the funds until and unless the plaintiff defaults and the court makes an appropriate order. To that moment, at least] the moneys
belong
to plaintiff water district and the court acts solely as a trustee or bailee, holding the moneys as the property of the plaintiff water district, without any divestiture of the district’s title, with power to “make some order, transmuting the money deposited from security into pay-1 ment” if the plaintiff should default but bound to return the plaintiff’s property if no default occurs. (See
Marblehead Land Co.
v.
Superior Court
(1923),
supra,
*628
Respondents contend that in making the deposits in the banks the county treasurer was depositing money which was in the custody of the county, was acting directly as county treasurer, representing the county and its treasury, and, therefore, the interest on funds deposited belonged to the county. It is clear that the funds were not in the custody of the county as such, for the sums remain subject to the order of the court, and the county treasurer in handling the funds must look to the court for direction; the county treasurer is in effect the treasurer of the court, an ex-officio officer, and holds the money for the court, not for the county. The court, not the county board of supervisors, has control of the money. (See
Pomona City School Dist.
v.
Payne
(1935),
While in the custody of the treasurer, the latter, wrongfully or rightfully, placed the “security deposits” in banks where they drew interest. (§ 1 of the Depositary Act.) Generally, mere deposit in court does not give rise to the right to receive interest. In the absence of a statute which, in effect, accretes sums to amounts deposited, it is conceded by plaintiff water district that no claim would arise for return of other than the original deposit. Civil Code, section 1915, provides: “Interest is the compensation allowed by law or fixed by the parties for the use, or forbearance, or detention of money.” (Italics added.) In 30 American Jurisprudence, page 8, it is said: “By modern decisions, interest is allowed only on the ground of a contract ... or as damages for the detention of money ... or by statutory provisions.” (Italics added.) In the present case, at least prior to plaintiff’s application for payment, there was no wrongful detention of funds belonging to the water district and (unless implied by statute) there is no contract for the payment of interest. A statute (Code Civ. Proc., § 573) does provide that funds on deposit in court shall be turned over to the county treasurer, however, and the Depositary Act, pursuant to which the bank deposits were made, does provide for the payment of interest thereon.
The plaintiff district contends that “it is probable that the Depositary Act did not authorize Treasurer to deposit these monies in bank,” that in making the deposits, the county treasurer was representing the court, not the county, and that as accretions to the funds belonging to ap *629 pellant, under ordinary trust principles, the interest should follow the principal to the treasury of the water district. The Depositary Act states that “All moneys belonging to . . . any public or municipal corporation within the state . . . shall so far as possible be deposited in such . . . bank or banks ... as the . . . official having legal custody thereof, shall select for safekeeping of such deposits.” (Italics added.) The county treasurer did not deposit moneys which were “in the custody of the county,” as claimed by respondent officials, but rather he deposited moneys entrusted to him by the court, acting as the court’s treasurer but “belonging to . . . [a] public or municipal corporation,” to wit, the Metropolitan Water District of Southern California. The Depositary Act, authorizing placement of public funds in state or national banks, was passed primarily to secure the safety of such public moneys. It would seem that its purpose would not be fully consummated if it were construed as authorizing the county treasurer to deposit at interest funds coming into his custody as an official of the county and as ex-officio treasurer of school or other districts but not'including funds in his custody which belong to a public or municipal corporation, simply because the funds entered his hands via an eminent domain proceeding from the court as its treasurer.
There remains the question of who was the proper recipient of the interest under section 2 of the Depositary Act. That section provides: “Interest on all moneys deposited as herein provided shall belong to and shall be paid quarterly into the general fund of the county, city and county, city, town, municipality or other public or municipal corporation represented by the officer making such deposit, except where the law otherwise directs.” The solution of the above question, therefore, resolves itself into a determination of which “public body” the county treasurer was representing in making the bank deposits under section 1 of the Depositary Act. The two possible contenders are the county and the court (in its representative capacity), who, unfortunately (in the sense that it gives rise to this dispute), have the same official authorized to act as the custodian of funds.
The appellant water district relies on
Pomona City School District
v.
Payne
(1935),
supra,
It may be added that in the interpretation of statutes, when two constructions appear possible, this court follows the rule of favoring that which leads to the more reasonable
*631
result. The respondents’ interpretation of the statute in issue results in a windfall to the county, substantially undeserved and unearned. On the other hand, the plaintiffcondemnor, if it takes possession as here, must pay interest on the amount ultimately awarded to the landowner from the date of its taking possession, but under respondents’ interpretation would receive no interest on the funds deposited by it as security for the claim of the landowners. We do not here reach the question, and intend no implication concerning it, as to whether the Legislature legally can or cannot, as compensation to the county for the use of its treasurer, his time and his services, provide for some remuneration to be deducted from interest earned on funds deposited with him. No such provision is present here, and there is no indication or evidence that such may have been the purpose of section 2 of the Depositary Act.
(Pomona City School District
v.
Payne
(1935),
supra,
For the reasons which have been stated the order appealed from is in each case reversed and the cause is remanded to the trial court for further proceedings not inconsistent with the views hereinabove expressed.
Gibson, C. J., Shenk, J., Carter, J., Traynor, J., and Spence, J., concurred.
Edmonds, J., did not participate in the decision of this case.
Respondents’ petition for a rehearing was denied October 18, 1948. Edmonds, J., did not participate.
