(e) Upon the conviction of any person for a violation of subdivision (a) or (b), the court may, in addition to any other penalty or fine imposed, order the defendant to pay an additional fine not to exceed ten thousand dollars ($10,000). In setting the amount of the fine, the court shall consider any relevant factors, including, but not limited to, the seriousness and gravity of the offense, the circumstances of its commission, whether the defendant derived any economic gain as a result of the crime, and the extent to which the victim suffered economic losses as a result of the crime. Every fine imposed and collected under this section shall be deposited in the Victim-Witness Assistance Fund to be available for appropriation to fund child sexual exploitation and child sexual abuse victim counseling centers and prevention programs pursuant to Section 13837.
If the court orders a fine imposed pursuant to this subdivision, the actual administrative cost of collecting that fine, not to exceed 2 percent of the total amount paid, may be paid into the general fund of the county treasury for the use and benefit of the county.