If the boundary line between two adjacent counties lies within a county highway, the boards of supervisors of the affected counties may, by agreement, provide for the improvement, maintenance, construction, or reconstruction of all or part of the highway by either or both counties, and each county may expend funds available to it for the improvements and maintenance of county highways as necessary for its performance of the agreement.
Ca. Sts. and High. Code § 941.6