(a) The sheriff may levy on goods delivered to a warehouseman for storage, by delivering copies of the garnishment process to the warehouseman, or to the proper officer or agent for the corporate warehouseman, as set out in G.S. 1-440.26,
(1) If a negotiable warehouse receipt has not been issued with respect thereto, or
(2) If a negotiable warehouse receipt has been issued with respect thereto, and
a. Such receipt is seized, or
b. Such receipt is surrendered to the warehouseman who issued it, or
c. The transfer of such receipt by the holder thereof is restrained or enjoined.
(b) A restraining order or injunction against the transfer of a negotiable warehouse receipt, when proper in an attachment proceeding, may be granted by the clerk or judge pursuant to a motion in the cause to which the attachment is ancillary. (1947, c. 693, s. 1.)