When by law any fees, fines, forfeitures, or penalties are levied and collected by the district judge or magistrate, the proceeds and all other money collected shall be accounted for and transmitted to the administrative director of the Alaska Court System for transfer to the general fund of the state except as provided in AS 22.15.270.