Notwithstanding the provisions of RCW
10.82.070, fifty percent of all fines except as otherwise provided in RCW
28A.225.010 through
28A.225.140 shall be applied to the support of the public schools in the school district where such offense was committed: PROVIDED, That all fees, fines, forfeitures, and penalties collected or assessed by a district court because of the violation of a state law shall be remitted as provided in chapter
3.62 RCW, and fifty percent shall be paid to the county treasurer who shall deposit such amount to the credit of the courts in the county for the exclusive purpose of enforcing the provisions of RCW
28A.225.010 through
28A.225.140.