Except in the case of a contract entered into between a county district and the county, a contract entered into pursuant to Section 42312 may provide that fees for permits shall be paid to the city or county which issues the permit and may be retained by that city or county, in whole or in part, as the consideration, or part thereof, for issuing the permits. Otherwise, all fees paid for the issuance of permits shall be paid into the district treasury.
Ca. Health and Saf. Code § 42313