When any right of retention under the provisions of the Commercial Code or the Companies Act exists against the property that belongs to the bankruptcy estate at the time of commencement of bankruptcy proceedings, if the property is necessary for the business continued pursuant to the provisions of Article 36 or the recovery of the property otherwise contributes to maintaining or increasing the value of the bankruptcy estate, a bankruptcy trustee may make a demand to the holder of the right of retention that the right be extinguished.
In order to make a demand under the provisions of the preceding paragraph, the amount of money equivalent to the value of the property referred to in that paragraph must be paid to the holder of the right of retention referred to in that paragraph.
Permission of the court must be obtained in order to make a demand under the provisions of paragraph (1) and to make a payment prescribed in the preceding paragraph.
If the permission referred to in the preceding paragraph is granted and the amount of payment prescribed in paragraph (2) is sufficient to cover the value of the property referred to in paragraph (1), the right of retention referred to in that paragraph is extinguished at the time when the payment is made or at the time when a demand under the provisions of paragraph (1) is made, whichever occurs later.
In an action to request the return of the property stated in paragraph (1) on the grounds that the right of retention referred to in that paragraph is extinguished pursuant to the provisions of the preceding paragraph, even if the amount of payment prescribed in paragraph (2) is not sufficient to cover the value of the property, upon the plaintiff's petition and when the court in charge of the action finds it appropriate, the court may order the holder of the right of retention referred to in paragraph (1) to return the property, on the condition that the amount of any shortage is to be paid within a reasonable period of time.
Read this with the articles around it