(a) The commissioners court of a county may authorize the replacement or repair of an existing cattle guard on a county road of any class.
(b) The commissioners court may replace or repair a cattle guard on a county road of any class and may pay for its replacement or repair from the county road and bridge fund if the court finds that the replacement or repair of the cattle guard is in the best interest of the residents of the county.