When a law-enforcement officer of (i) the Department of State Police or (ii) any other division of the state government makes an arrest or issues a summons for a violation of a provision of the Code of Virginia, the person arrested or summoned shall be charged with a violation of that Code provision and shall not be charged with a substantially similar local ordinance. All fines collected upon conviction of any person so arrested or summoned shall be credited to the Literary Fund.
Va. Code § 19.2-340.1