When a mark has been attached to any article, or a certificate has been given with respect to any article, under the authority of any statute, for the purpose of denoting the quality of the article, or the fact that it has been examined or approved by or under the authority of some public body or public officer, any person who mixes with the article so marked or certified any other article which has not been so examined or approved, is guilty of a misdemeanour, and is liable to imprisonment for 3 years.