Unless a document of title was originally issued upon delivery of the goods by a person who did not have power to dispose of them, a lien does not attach by virtue of a judicial process to goods in the possession of a bailee for which a negotiable document of title is outstanding unless possession or control of the document is first surrendered to the bailee or negotiation of the document is enjoined. The bailee may not be compelled to deliver the goods under process until possession or control of the document is surrendered to the bailee or to the court. A purchaser of the document for value without notice of the process or injunction takes free of the lien imposed by judicial process.