*240 Opinion
In thе published portion of this opinion we will conclude Code of Civil Procedure 1 section 1033.5, subdivision (c)(2) authorizes a trial court to disallow recovery of a filing fee as a cost if the court determines the fee was not reasonably necessary to the litigation.
The Case and the Facts
I
Facts Leading to the Dispute *
II
The Present Lawsuit
On August 1, 1990, Perko’s Enterprises, Inc., as franchiser, filed a verified complaint for damages for breach of contract and sublease against the franchisee, RRNS, a partnership, the four partners individually, and Does 1-20. That same day, it also made an ex parte application for a right to attach order against the funds held in escrow from the pending sale of the business between RRNS and Golden West Pancakes. The day before, the attorney for Perko’s, Thomas Nast, had notified the office of the attorney for RRNS, Lawrence Haun, of his intеntion to seek the ex parte attachment order. Haun appeared at the hearing to oppose the motion, which the court denied. At that time, Nast asked Haun to accept service of the complaint on behalf of RRNS. Haun declined. Haun thеn filed a notice of opposition to application for right to attach order, together with a memorandum of points and authorities and assorted declarations and exhibits. He paid a filing fee of $415.
On August 6, Perko’s complaint was dismissed at its request. RRNS thereupon filed a memorandum of costs to recover the $415 filing fee. In response, Perko’s moved to tax costs. RRNS opposed the motion and requested the court impose sanctions against Perko’s pursuant to section 128.5. By order filed December 4, the court denied the motion to tax costs. *241 It awarded costs of $415 to RRNS and imposed sanctions in the amount of $500. Perko’s filed a notice of appeal on November 8 and an amended notice on December 11. The court entered judgment on January 16, 1991. 2
Discussion
III
Denial of Motion to Tax Costs
Perko’s contends the disputеd filing fee is not recoverable as a cost because RRNS’s pleadings were filed after the issue which was the subject of the pleadings had been decided. Therefore, it argues, the fee was not a necessary cost. RRNS contraposes recovery оf filing fees as costs is such an “accepted and automatic” right it is beyond question. Thus the issue is whether a trial court has the power to disallow those costs which it determines to be unnecessary or unreasonable.
The right to recover costs is purely statutory.
(McIntosh
v.
Crandall
(1941)
Prior to the 1986 amendments, section 1032 provided costs were allowed “of course” tо a plaintiff or defendant upon a judgment in his favor in certain specified types of actions, and to a defendant as to whom the action was dismissed. In actions other than those expressly mentioned, costs were allowable in the discretion of the court. Under this earlier scheme, filing fees were recoverable as a matter of course.
3
(International Industries, Inc.
v.
Olen
(1978)
*242 In 1986, section 1032 was rewritten to provide that a “prevailing party” is entitled “as a matter of right” to recover costs in any action or proceeding. (§ 1032, subd. (b).) A “prevailing party” was dеfined to include “a defendant in whose favor a dismissal is entered, . . .” (§ 1032, subd. (a)(4).) 4 In addition, section 1033.5 5 was added to the code to identify specific types of costs which are allowable and others which are not, and to provide that costs not expressly mentioned are allowablе at the court’s discretion. Under this revised scheme, recovery is now based on the type of cost rather than on the type of action in which it is incurred. Filing fees are among those costs which are expressly allowable. (§ 1033.5, subd. (a)(1).)
Under both the former and the presеnt statutory schemes, costs are one of two types: those recoverable as a matter of right and those recoverable at the discretion of the court. The question is what, if any, conditions may be imposed on recovery of costs allowable “аs a matter of right.”
Under the former scheme the statutes did not identify allowable costs specifically, but limited costs recoverable as a matter of right to those incurred in certain types of actions, or by a defendant as to whom an action was dismissed.
6
A party claiming costs was required to file a verified
*243
memorandum of costs with the court stating the claimed costs and disbursements were “necessarily incurred.”
7
The memorandum was prima facie evidence the items were necessary, but when a cost bill was properly challenged the burden shifted to the party claiming costs to prove their necessity.
(Rappenecker
v.
Sea-Land Service, Inc.
(1979)
In reviewing the necessity of challenged costs, the courts made no distinction between those allowable as a matter of course and those allowable in the discretion of the court. For example, although filing fees were ordinarily allowable as a matter of course
(.International Industries, Inc.
v.
Olen, supra,
RRNS cites
International Industries, Inc.
v.
Olen, supra,
Therefore, the prevailing view in the case law prior to 1986 held a trial court may disallow costs, including filing fees, which it determines were incurred unnecessarily. That view was codified by the 1986 amendments to the code. Under the present scheme, a prevailing party is entitled as a matter of right to recover filing fees “[ejxcept as otherwise expressly provided by statute, . . .” (§ 1032, subd. (b).) Section 1033.5, subdivision (c)(2), added by the 1986 amendments, expressly provides that “[allowable costs shall be reasonably necessary to the conduct of the litigation rather than merely convenient or beneficial to its preparation.” (See fn. 5, ante.)
It is a fundamental premise of statutory interpretation that the objective is to “ascertain and effectuate legislative intent.”
(People
v.
Woodhead
(1987)
RRNS makes no argument to the contrary; it does not argue section 1033.5, subdivision (c)(2) has any other meaning or its meaning is ambiguous. In fact, it does not even discuss the statute. It relies instead on the unsubstantiated assertion that allowance of filing fees as a matter of right precludes any inquiry into their necessity. Even if it were well established by case law prior to 1986 that the right to recover filing fees as costs was absolute, a court may infer that the Legislature was aware of that construction and intended to alter the law in that regard when it enacted section 1033.5, subdivision (c)(2).
(Palos Verdes Faculty Assn.
v.
Palos Verdes Peninsula Unified Sch. Dist.
(1978)
When a trial court is mistaken about the scope of its discretion, even if the mistake is reasonablе, an action taken in accord with that mistaken view is error.
(City of Sacramento
v.
Drew
(1989)
IV *
Imposition of Sanctions
Disposition
The judgment and the trial court’s order denying apрellant’s motion to tax costs and awarding respondents’ filing fee as a cost and sanctions are reversed and the matter remanded to the trial court for further consideration.
*246 Respondents’ request for sanctions on appeal is denied. Costs on apрeal to appellant.
Dibiaso, J., and Buckley, J., concurred.
See footnote, ante, page 238.
Notes
All statutory references are to the Code of Civil Procedure unless otherwise indicated.
See footnote, ante, page 238.
We deem the premature notice of appeal to have been filed after entry of judgment in accordance with rule 2(c) of thе California Rules of Court, which provides, in part: “(c) A notice of appeal filed prior to entry of the judgment, but after its rendition, shall be valid and shall be deemed to have been filed immediately after entry.”
Section 1032, prior to the 1986 amendments, read in part: “In the supеrior court, except as otherwise expressly provided, costs are allowed of course: "...............
“(b) To the defendant upon a judgment in his favor in special proceedings and in the actions mentioned in subdivision (a) of this section, or as to whom the action is dismissed. Whеn there are several defendants in any action mentioned in subdivision (a) of this section, not united in interest, and making separate defenses by separate answers, and plaintiff fails to *242 recover judgment against all, the court must award costs to such of the defendants аs have judgment in their favor.”
Section 1032 now reads, in part:
“(a) As used in this section, unless the context clearly requires otherwise: “.........................
“(4) ‘Prevailing party’ includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains аny relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. When any party recovers other than monetary relief and in situations other than as specified, the ‘prevailing party’ shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.”
Section 1033.5 reads in part:
“(a) The following items are allowаble as costs under Section 1032:
“(1) Filing, motion, and jury fees.
“............ “(c) Any award of costs shall be subject to the following:
“(1) Costs are allowable if incurred, whether or not paid.
“(2) Allowable costs shall be reasonably necessary to the conduct of the litigation rather than merely convenient or beneficial to its preparation.
“(3) Allowable costs shall be reasonable in amount.
“(4) Items not mentionеd in this section and items assessed upon application may be allowed or denied in the court’s discretion.”
See footnote 3, ante.
Section 1033, prior to the 1986 amendments, provided in part:
“In superior courts, municipal courts and in justice courts the party in whose favor the judgment is ordered or the dismissal is granted, and who claims his or her costs, must serve upon the adverse party, and file at any time after the verdict or decision of the court, and not later than 10 days after notice of the entry of the judgment or the dismissal, a memorandum of the items of his or her costs and necessary disbursements in the action or proceeding, which memorandum must be verified by the oath of the party, or his or her attorney or agent, or by the clerk of his attorney, stating that to the best of his or her knowledge and belief the items are correct, and that the disbursemеnts have been necessarily incurred in the action or proceeding. A party dissatisfied with the costs claimed may, within 10 days after the service of a copy of the bill of costs, file a motion to have the same taxed by the court in which the judgment was rendered or the dismissal was granted, or by the judge thereof at chambers.” (Italics added.)
