Every person, who destroys, breaks, injures, or tampers with any lock or seal which may be placed on any room, building, tank, vessel, or apparatus, by any authorized internal revenue officer or any approved lock or seal placed thereon by a distilled spirits plant proprietor, or who opens said lock, seal, room, building, tank, vessel, or apparatus, or in any manner gains access to the contents therein, in the absence of the proper officer, or otherwise than as authorized by law, shall be fined not more than $5,000, or imprisoned not more than 3 years, or both.