The code enforcement officer shall be empowered to enforce this article, and may inspect trucks on county roads that by appearance are overweight, or that may be overweight such as closed-container 18-wheelers. At no time may the code enforcement officer enforce any traffic violations or any other matters other than county ordinance violations.