Any company, its officers or agents, who shall sell, encumber, transfer or remove, or cause or procure to be sold, transferred or removed from the tanks or pipes of such company, any petroleum, crude or refined, without the written consent of the owner or a majority of the owners in interest thereof, shall be guilty of a misdemeanor, and, upon conviction thereof, shall be fined one thousand dollars and, if the offender be a natural person, imprisoned in the county jail not less than ninety days nor more than one year.