(1) If the possessor of a thing or securities belonging to another person has any claim arising, in respect of such property or securities and if payment of the claim is due, he may retain possession of the thing or securities until the claim is satisfied.
(2) The preceding paragraph shall not apply if the possession has originated in an unlawful act.