Any moneys heretofore allotted from the State Highway Fund to any county or municipality as State aid road funds shall be paid to such county or municipality as provided by law; provided, however, that any moneys so allotted in any year prior to January first, one thousand nine hundred and forty-five, to any such county or municipality which has not been paid to any such county or municipality and which has not been reserved for payment to any such county or municipality on account of obligations incurred under such allotment, and which has been placed in a special State aid road fund account shall be held therein to the credit of such county or municipality until such time as said moneys can be used by said county or municipality for the purpose or purposes for which said moneys were originally allotted. The moneys in said special State aid road fund account are hereby deemed and declared to be dedicated funds, and shall not be used for any purpose other than herein provided.
N.J.S. § 27:13-7