Nothing in Sections 9-2-20 through 9-2-22, however, shall require the diversion of any funds from any particular purpose for which they were collected, allotted or budgeted if the effect of such diversion would penalize the state in retaining or securing any federal funds or federal assistance.
Ala. Code § 9-2-23 (1975)