(a)
In any case in which a party is provided legal assistance, either through the public defender or private counsel appointed by the court, upon conclusion of the proceedings, or upon the withdrawal of the public defender or private counsel, after a hearing on the matter, the court may make a determination of the ability of the party to pay all or a portion of the cost of such legal assistance. Such determination of ability to pay shall only be made after a hearing conducted according to the provisions of Section 987.8 of the Penal Code; except that, in any court where a county financial evaluation officer is available, the court shall order the party to appear before the county financial evaluation officer, who shall make an inquiry into the party’s ability to pay this cost as well as other court-related costs. The party shall have the right to dispute the county finanacial evaluation officer’s evaluation, in which case he or she shall be entitled to a hearing pursuant to Section 27752. If the party agrees with the county financial evaluation officer’s evaluation, the county financial evaluation officer shall petition the court for an order to that effect. The court may, in its discretion, hold one such additional hearing, or the county financial evaluation officer may hold one such additional evaluation, within six months of the conclusion of the criminal proceedings. If the court determines, or upon petition by the county financial evaluation officer is satisfied, that the party has the ability to pay all or part of the cost, it shall order the party to pay the sum to the county in any installments and manner which it believes reasonable and compatible with the party’s ability to pay. Execution may be issued on the order in the same manner as on a judgment in a civil action. The order shall not be enforced by contempt.
The court, or in a county which has a county financial evaluation officer, the board of supervisors, shall adjudge a standard by which to measure the cost of legal assistance provided, which standard shall reflect the actual cost of legal services provided. Appointed counsel shall provide evidence of the services performed pursuant to such standard.