Any person who erases, or in any way alters or defaces, any letter, mark, number or figure put upon any hogshead or other container by an inspector, or counterfeits the letter, mark, number or figure, previous to the delivery to the purchaser, commits a Class C misdemeanor.