Notwithstanding Section 5140, an action to recover taxes levied on state-assessed property arising out of a dispute as to an assessment made pursuant to Section 721, including a dispute as to valuation, assessment ratio, or allocation of value for assessment purposes, shall be brought under this section. In any action brought under this section, the following requirements shall apply:
When a county is named which collected taxes on behalf of a city or cities, the county shall give notice of that action to the city or cities within 30 days of receipt of advice from the board of the action. A fee shall be payable by the state assessee in an amount prescribed by the court to cover the reasonable costs incurred by a county or counties in giving that notice. Any city receiving notice of the action filed against the board and the county may, within 30 days of the receipt of that notice, intervene in that action.
Whether or not a city intervenes in the action, any judgment rendered for an assessee shall be entered exclusively against the county; however, the county shall be entitled to recover separately from the city or cities and other tax entities those taxes collected by the county on behalf of the city or cities and other tax entities which are subject to refund to the assessee as the result of the judgment.
Payment to the taxpayer upon the judgment and any interest thereon may be deferred by the county until the apportionment of property tax revenue next following the date of the judgment, or as the county and the taxpayer may otherwise agree. Interest shall accrue during any deferral period unless the county and taxpayer otherwise agree.
The county may if it chooses to do so offset the amount of the judgment and interest recoverable by it from the city or cities and other tax entities against amounts held in the county treasury therefor or against amounts due and payable thereto, including, but not limited to, property tax apportionments. The amount of the fee required by this section shall not be recoverable by the assessee in the action and no judgment entered in the action in favor of the assessee shall provide for the recovery of the fee.
As used in this section, "county" includes a city and county.
Ca. Rev. and Tax. Code § 5148