For the purpose of securing more uniform and adequate enforcement of this code throughout the state, the director may enter into cooperative agreements with the board of supervisors of any county which relate to the compensation of the county agricultural commissioner of the county, or which relate to compensation of the county for services which are performed for the department.