Any person who shall deposit, or attempt to deposit, cotton upon which a lien, mortgage, or adverse claim exists, without notifying the manager of the warehouse thereof and having this fact so entered on the warehouse receipt, shall be guilty of a misdemeanor.