Section 35. Notwithstanding the provisions relative to the distribution of fines, penalties and forfeitures in section 10G of chapter 21A to the contrary, of the fines collected by the commonwealth pursuant to a violation of the fourth paragraph of section 10H of chapter 21A and section 21 and sections 24 to 32, inclusive, 75 per cent shall be deposited into the Off–Highway Vehicle Program Fund, established in section 35OO of chapter 10, and the remaining 25 per cent shall be distributed equally among the divisions, departments or offices involved in the enforcement of the laws which resulted in the assessment of such fines. The distribution of fines shall not apply to the surcharge amount imposed by section 39 or by section 10I of chapter 21A.