Every person mentioned in this chapter, who sells, hypothecates, or pledges any merchandise for which any bill of lading, receipt, or voucher has been issued by him or her, without the consent in writing thereto of the person holding that bill, receipt, or voucher, is punishable by imprisonment pursuant to subdivision (h) of Section 1170, or by a fine not exceeding one thousand dollars ($1,000), or both.