Instruct: Given a statement, retrieve legal articles that support it
Query: 
In cases where a lessee of a building has not paid the purchase money with respect to the sale of a dresser for a furniture store and has not paid the rent for the lessor,
the furniture store's statutory lien with respect to the dresser shall prevail over the lessor's statutory lien with respect to the same.


Article 330
(1) If there are competing special statutory liens against the same movables, the order of priority follows the order set forth below.In this case, if there are two or more preservers with respect to the statutory liens for preservation of movables set forth in item (ii), a new preserver has priority over previous preservers:
(i) statutory liens for leases of immovables, lodging at hotels and transportation;
(ii) statutory liens for the preservation of movables; and
(iii) statutory liens for the sale of movables, the supply of seeds and seedlings or fertilizer, agricultural labor and industrial labor.
(2) In the cases referred to in the preceding paragraph, if a holder of a statutory lien ranked first knew at the time of acquiring the relevant claim of the existence of a holder of a statutory lien of the second or third rank, that holder may not exercise the relevant rights of priority against those persons. The same applies to the exercise against persons that have preserved things on behalf of the holder of a statutory lien of the first rank.
(3) Regarding fruits, the first rank belongs to persons who engage in agricultural labor, the second rank belongs to persons that supply seeds and seedlings or fertilizer, and the third rank belongs to lessors of land..


Article 177
Acquisitions of, losses of and changes in real rights on immovables may not be duly asserted against any third parties, unless the same are registered pursuant to the applicable provisions of the Real Property Registration Act (Act No. 123 of 2004) and other laws regarding registration.
Article 361
Beyond what is provided for in this Section, the provisions of the next Chapter (Mortgages) apply mutatis mutandis to pledges of immovables, provided that it is not inconsistent with the nature of the same.
Article 373
If more than one mortgage is created with respect to the same immovables, the order of priority of those mortgages follows the chronological order of their registration.
Article 339
Statutory liens registered in accordance with the provisions of the preceding two Articles may be exercised prior to mortgages.
Article 337
In order to preserve the effectiveness of statutory liens for preservation of immovables, registration must be carried out immediately after the completion of the act of preservation.
Article 338
(1) In order to preserve the effectiveness of statutory liens for construction work for immovables, the budgeted expenses of the construction work must be registered prior to the commencement of the same.In this case, if the expenses of the construction work exceed the budgeted amount, a statutory lien does not exist with respect to the amount in excess of the same.
(2) The amount of increase in value of immovables that resulted from construction work must be evaluated by an appraiser appointed by the court at the time of the participation in the distribution..


Article 335
(1) Holders of general statutory liens cannot be paid out of immovables unless they are first paid out of property other than immovables and a claim that is not satisfied remains.
(2) With respect to immovables, holders of general statutory liens must first be paid out of those that are not the subject matters of special security.
(3) If holders of general statutory liens fail to participate in distributions in accordance with the provisions of the preceding two paragraphs, they may not exercise their statutory liens against registered third parties with respect to amounts that would have been paid to them if they had participated in the distribution.
(4) The provisions of the preceding three paragraphs do not apply if the proceeds of immovables are distributed prior to the proceeds of assets other than immovables, or if the proceeds of immovables that are the subject matter of a special security are distributed prior to the proceeds of other immovables..


Article 613
(1) If a lessee lawfully subleases a leased thing, the sublessee is liable to perform an obligation based on the sublease directly to the lessor, to the extent of the scope of the lessee's obligation based on the lease between the lessor and the lessee. In such a case, advance payment of rent may not be duly asserted against the lessor.
(2) The provisions of the preceding paragraph do not preclude the lessor from exercising rights against the lessee.
(3) If the lessee lawfully subleases a leased thing, the lessor may not duly assert against the sublessee the cancellation by agreement of the lease with the lessee;provided, however, that this does not apply if, at the time of the cancellation, the lessor has a right to cancel due to non-performance on the part of the lessee..


Article 337
In order to preserve the effectiveness of statutory liens for preservation of immovables, registration must be carried out immediately after the completion of the act of preservation..


Article 604
(1) The duration of a lease may not exceed 50 years. Even if the contract prescribes a longer term, that term is considered to be 50 years.
(2) The duration of a lease may be renewed;provided, however, that the term may not exceed 50 years from the time of the renewal..


Article 387
(1) A registered lease may be duly asserted against mortgagees that hold mortgages registered prior to the registration of that lease if all mortgagees that hold those mortgages give their consent and those consents are registered.
(2) For a mortgagee to give the consent referred to in the preceding paragraph, the approval of the persons that hold rights for which the mortgage is the subject matter and other persons that will suffer detriment as a result of the consent of the mortgagee must be obtained..


Article 299
(1) If the holder of a right of retention incurs necessary expenses with respect to the thing retained, that holder may have the owner reimburse the same.
(2) If the holder of a right of retention incurs beneficial expenses with respect to the thing retained, to the extent that there is currently an increase in value as a result of the same, that holder may have the expenses incurred or the increase in value reimbursed at the owner's choice;provided, however, that the court may, at the request of the owner, grant a reasonable period of time for the reimbursement of the same..


Article 575
(1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.
(2) The buyer bears the obligation to pay interest on the price beginning from the day of delivery;provided, however, that if a due date is provided for the payment of the price, it is not necessary to pay the interest until that due date arrives..


Article 400
If the subject matter of a claim is the delivery of a specific thing, the obligor must retain the thing with the due care of a prudent manager, which is determined in light of the contract or other sources of claims and the common sense in the transaction, until the delivery..


Article 400
If the subject matter of a claim is the delivery of a specific thing, the obligor must retain the thing with the due care of a prudent manager, which is determined in light of the contract or other sources of claims and the common sense in the transaction, until the delivery..


Article 339
Statutory liens registered in accordance with the provisions of the preceding two Articles may be exercised prior to mortgages.
Article 341
Beyond what is provided for in this Section, the provisions regarding mortgages apply mutatis mutandis to the effects of statutory liens, provided that it is not inconsistent with the nature of the same..


Article 378
If a third party that purchases the ownership or superficies of a mortgaged immovables pays the price of the same to a mortgagee at the request of the same mortgagee, that mortgage is terminated for the benefit of that third party..


Article 605-2 (1) If a lease is perfected in accordance with the laws and regulations including the preceding Article, and Articles 10 and 31 of the Act on Land and Building Leases (Act No. 90 of 1991), and the relevant immovables are assigned, the status of the lessor of the immovables is transferred to its assignee.
(2) Notwithstanding the provisions of the preceding paragraph, if the assignor and the assignee of immovables agree that the assignor reserves the status of lessor and that the assignee leases the immovables to the assignor, the status of lessor is not transferred to the assignee. In such a case, if a lease between the assignor and the assignee or any successor thereof is terminated, the status of lessor that the assignor has reserved is transferred to the assignee or any successor thereof.
(3) The status of lessor under the provisions of paragraph (1) or the second sentence of the preceding paragraph may not be duly asserted against the lessee unless the transfer of ownership for the immovables under lease is registered.
(4) If the status of lessor is transferred to the assignee or any successor thereof pursuant to the provisions of paragraph (1) or the second sentence of paragraph (2), the assignee or any successor thereof succeeds to the obligation to reimburse expenses under the provisions of Article 608 and the obligation to refund the security deposit prescribed in Article 622-2, paragraph (1) under the provisions of that paragraph.


Article 589
(1) In the absence of any special agreement, the lender may not demand interest from the borrower.
(2) If there is any special agreement referred to in the preceding paragraph, the lender may demand from the borrower interest that accrues from the day on which the borrower receives the thing such as money..


Article 649
If costs will be incurred in administering the mandated business, the mandator must, at the request of the mandatary, pay an advance for those costs..


Article 717
(1) If a defect in the installation or preservation of a structure on land causes damage to another person, the possessor of that structure is liable to the person incurring damage to compensate for the damage;provided, however, that if the possessor has exercised the necessary care to prevent the damage, the owner must compensate for the damage.
(2) The provisions of the preceding paragraph apply mutatis mutandis if there is a defect in the planting or supporting of bamboo or trees.
(3) In the cases referred to in the preceding two paragraphs, if there is another person that is liable for the cause of the damage, the possessor or owner may exercise their right to reimbursement against that person..


Article 608
(1) If a lessee has defrayed necessary expenses with respect to the leased thing which ought to be borne by the lessor, the lessee may immediately demand the reimbursement of the same from the lessor.
(2) If the lessee has incurred beneficial expenses with respect to the leased thing, the lessor must reimburse those expenses on termination of the lease in compliance with the provisions of Article 196, paragraph (2);provided, however, that the court may, at the lessor's request, grant a reasonable period of time for the reimbursement of the same..


Article 302
A right of retention is extinguished if the holder of the right of retention loses possession of the thing retained;provided, however, that this does not apply if the thing retained is leased or it is made the subject of a pledge pursuant to the provisions of Article 298, paragraph (2)..


Article 295
(1) If a possessor of a thing belonging to another person has a claim that has arisen in relation to that thing, that possessor may retain that thing until that claim is satisfied;provided, however, that this does not apply if the relevant claim has not yet fallen due.
(2) The provisions of the preceding paragraph do not apply if possession commenced by means of a tortious act..


Article 706
If an obligor has paid money or delivered anything as performance of an obligation that has not yet fallen due, the obligor may not demand the return of the money paid or thing delivered;provided, however, that if the obligor tendered anything by mistake, the obligee must return the benefit gained as a result..


Article 587
A loan for consumption becomes effective when a first party receives money or any other thing from a second party, having promised to return a thing of the same type, quality, and quantity.
Article 589
(1) In the absence of any special agreement, the lender may not demand interest from the borrower.
(2) If there is any special agreement referred to in the preceding paragraph, the lender may demand from the borrower interest that accrues from the day on which the borrower receives the thing such as money..


Article 474
(1) A third party may also perform an obligation.
(2) A third party that has no legitimate interest in performing an obligation may not perform the obligation against the will of the obligor;provided, however, that this does not apply if the obligee did not know that the performance is against the will of the obligor.
(3) The third party prescribed in the preceding paragraph may not perform the obligation against the will of the obligee;provided, however, that this does not apply if the third party performs the obligation as requested by the obligor, and the obligee knew this.
(4) The provisions of the preceding three paragraphs do not apply if the nature of an obligation does not permit the performance by a third party or if a party manifests the intention to prohibit or restrict the performance by a third party.
Article 494
(1) In the following cases, a performer may deposit the subject matter of the performance with an official depository for the benefit of the obligee. In such a case, the claim is extinguished when the performer makes the deposit:
(i) the performer tenders the performance, and the obligee refuses to accept it; or
(ii) the obligee is unable to accept the performance.
(2) The preceding paragraph also applies if the performer is unable to ascertain the obligee;provided, however, that this does not apply if the performer is negligent in this respect..


Article 387
(1) A registered lease may be duly asserted against mortgagees that hold mortgages registered prior to the registration of that lease if all mortgagees that hold those mortgages give their consent and those consents are registered.
(2) For a mortgagee to give the consent referred to in the preceding paragraph, the approval of the persons that hold rights for which the mortgage is the subject matter and other persons that will suffer detriment as a result of the consent of the mortgagee must be obtained..


Article 395
(1) A person that uses or profits from a building subject to a mortgage by virtue of a lease that cannot be duly asserted against the mortgagee, and that is set forth as follows (in the following paragraph referred to as "mortgaged building user") is not required to deliver that building to the purchaser thereof until six months have passed from the time when the purchaser purchased that building at auction:
(i) a person that has been using or profiting from the building since prior to the commencement of auction procedures; or
(ii) a person that is using or profiting from the building by virtue of a lease given after the commencement of auction procedures by the administrator of compulsory administration or execution against earnings from immovable collateral.
(2) The provisions of the preceding paragraph do not apply if the purchaser, specifying a reasonable period of time, issues a notice to the mortgaged building user demanding payment of consideration for a period of one month or more with respect to the use of the building referred to in that paragraph that has been made after the time of purchase by the purchaser, and no payment is made within that reasonable period of time.
Article 703
A person that has benefited (hereinafter in this Chapter referred to as "beneficiary") from the property or labor of another person without legal cause and has thereby caused a loss to another person bears the duty to return that benefit, to the extent the benefit exists..
