Instruct: Given a legal statement, retrieve articles that support the statement.
Query: 
A borrower must restore a borrowed Thing to its original condition on termination of the loan for use, but the borrower must obtain the consent of the lender to remove anything attached to the borrowed Thing.
A lessee must restore a leased Thing to its original condition on termination of the lease, but the lessee need not obtain the consent of the lessor to remove anything attached to the leased Thing.


Article 599
(1) If the borrower attaches anything to the borrowed thing after receiving it, the borrower has an obligation to remove the attached thing when the loan for use is terminated;provided, however, that this does not apply to anything that is unable to be detached from the borrowed thing or that requires excessive expenses for the detachment.
(2) The borrower may remove anything that the borrower has attached to the borrowed thing after receiving it.
(3) If any damage is caused to the borrowed thing after the borrower receives it, the borrower has an obligation to restore the damaged thing when the loan for use is terminated;provided, however, that this does not apply if the damage is caused due to any grounds not attributable to the borrower.
Article 616
The provisions of Article 594, paragraph (1) apply mutatis mutandis to leases..


Article 594
(1) A borrower must make use of and take the profits of the thing in compliance with the method of use specified by the contract or by the nature of the thing which is the subject matter of the contract.
(2) A borrower may not allow third parties to make use of or take the profits of the thing without obtaining the approval of the lender.
(3) If a borrower has made use of or taken the profits of the thing in violation of the provisions of the preceding two paragraphs, the lender may cancel the contract.
Article 616
The provisions of Article 594, paragraph (1) apply mutatis mutandis to leases..


Article 350
The provisions of Articles 296 through 300 and those of Article 304
apply mutatis mutandis to pledges.
Article 298
(1) The holder of a right of retention must possess the thing retained with the due care of a prudent manager.
(2) The holder of the right of retention may not use, lease or provide as a security the thing retained unless that holder obtains the consent of the obligor;provided, however, that this does not apply to uses necessary for the preservation of that thing.
(3) If the holder of a right of retention violates the provisions of the preceding two paragraphs, the obligor may demand that the right of retention be terminated..


Article 298
(1) The holder of a right of retention must possess the thing retained with the due care of a prudent manager.
(2) The holder of the right of retention may not use, lease or provide as a security the thing retained unless that holder obtains the consent of the obligor;provided, however, that this does not apply to uses necessary for the preservation of that thing.
(3) If the holder of a right of retention violates the provisions of the preceding two paragraphs, the obligor may demand that the right of retention be terminated.
Article 350
The provisions of Articles 296 through 300 and those of Article 304
apply mutatis mutandis to pledges..


Article 593
A loan for use becomes effective if one of the parties promises to deliver a certain thing, and the other party promises to return the thing when the contract is terminated after the other party gratuitously uses and makes profit of the borrowed thing.
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 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 181
Possessory rights may be acquired through an agent..


Article 391
If a third party acquirer of a mortgaged immovables has incurred necessary or beneficial expenses with respect to the mortgaged immovables, that third party may obtain reimbursement of the same out of the proceeds of the mortgaged immovables prior to other obligees, in accordance with the distinctions in Article 196.
Article 196
(1) If a possessor returns a thing in the possession thereof, the possessor may have the person recovering the thing reimburse the possessor for the costs the possessor has paid for its preservation and other necessary expenses;provided, however, that if the possessor has acquired fruits, ordinary and necessary expenses are borne by the possessor.
(2) With respect to the costs paid for by a possessor to improve the thing in the possession thereof and other beneficial expenses, the possessor may have the person recovering the thing reimburse the possessor for either the costs the possessor has paid or the amount of the increased value, whichever the person recovering the thing chooses, but only if there is a current increase in value;provided, however, that with regard to a possessor in bad faith, the court may, at the request of the person recovering the thing, grant a reasonable period of time for the same..


Article 663
(1) If the parties have not specified the timing of the return of the bailed thing, the bailee may return the same at any time.
(2) If the timing of the return is specified, the bailee may not return the deposited thing prior to the due date unless there is a compelling reason to do so..


Article 513
If the parties conclude a contract which gives rise to a new obligation that falls under any of the following as a replacement of the previous obligation, the previous obligation is extinguished by novation:
(i) an obligation that makes a material change to the content of the performance of the previous obligation;
(ii) an obligation for which the previous obligor is substituted by a third party; or
(iii) an obligation for which the previous obligee is substituted by a third party..


Article 415 (1) If an obligor fails to perform consistent with the purpose of the obligation or the performance of an obligation is impossible, the obligee may claim compensation for loss or damage arising from the failure; provided, however, that this does not apply if the failure to perform the obligation is due to grounds not attributable to the obligor in light of the contract or other sources of obligation and the common sense in the transaction.
Article 561 If the subject matter of a sale is another person's right (including a part of a right that belongs to another person), the seller bears an obligation to acquire the right and transfer it to the buyer.


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 587-2
(1) Notwithstanding the provisions of the preceding Article, a loan for consumption made in writing becomes effective when a first party promises to deliver money or any other thing and a second party promises to return a thing of the same type, quality, and quantity as the thing delivered.
(2) The borrower of a loan for consumption made in writing may cancel the contract until the borrower receives the money or other thing from the lender. In such a case, if the lender sustains any damage from the cancellation of the contract, the lender may claim compensation therefor.
(3) A loan for consumption made in writing ceases to be effective if either of the parties receives an order commencing bankruptcy proceedings before the borrower receives the thing such as money from the lender.
(4) If a loan for consumption is made by means of an electronic or magnetic record in which its content is recorded, the loan for consumption is deemed to have been made in writing, and the provisions of the preceding three paragraphs apply thereto..


Article 617
(1) If the parties do not specify the term of a lease, either party may give a notice of termination at any time. In such cases, a lease as set forth in one of the following items terminates when the term prescribed in that item has passed after the day of the notice of termination:
(i)
(ii)
(iii)
(2) With respect to leases of land with harvest seasons, the notice of termination must be given after the end of that season and before the next start of cultivation.
Article 591
(1) If the parties do not define the time for return of borrowed things, the lender may demand their return, specifying a reasonable period of time.
(2) The borrower may return the borrowed thing at any time, irrespective of whether the parties have defined the time of return of the thing.
(3) If the parties defined the time of return of the borrowed thing, and the lender sustains any damage because the borrower returns the thing prior to the time of return, the lender may claim compensation therefor from the borrower..


Article 707
(1) If a person that is not an obligor has performed an obligation by mistake and the obligee, acting in good faith, has allowed the instrument to be lost, has damaged the instrument, has waived the security, or has lost the claim by prescription, the person performing the obligation may not demand the return of subject matter of the performance.
(2) The provisions of the preceding paragraph do not preclude the person performing an obligation from exercising the right to reimbursement against the obligor..


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 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 424
(1) An obligee may demand the court to rescind an act which the obligor commits knowing that it will prejudice the obligee; provided, however, that this does not apply if a person that benefits from that act (hereinafter referred to as the "beneficiary" in this Subsection) does not know, at the time of the act, that the obligee will be prejudiced.
(2) The provisions of the preceding paragraph do not apply to an act with a subject matter other than property rights.
(3) The obligee may make the demand under the provisions of paragraph (1) (hereinafter referred to as "demand for rescission of fraudulent act") only if the obligee's claim has arisen from a cause that existed before the act prescribed in paragraph (1).
(4) The obligee may not make demand for rescission of fraudulent act if the obligee's claim is not enforceable by compulsory execution..


Article 121-2 (1) A person that has received payment or delivery as the performance of an obligation based on a void act has an obligation to restore the other party to the original state.
(2) Notwithstanding the provisions of the preceding paragraph, if a person that receives payment or delivery as the performance of an obligation based on a void gratuitous act did not know that the act was void at the time of receiving the payment or delivery (or if the person did not know that the act was voidable at the time of receiving the payment or delivery in the case of an act which is deemed void ab initio pursuant to the provisions of the preceding Article after the receipt of the payment or delivery), has an obligation to return to the extent currently enriched by the act.


Article 597
(1) If the parties specify a period of a loan for use, the loan for use is terminated upon the expiration of the period.
(2) If the parties do not specify a period of a loan for use, but they specify the purpose of using and making profit from the borrowed thing, the loan for use is terminated when the borrower finishes using and making profit from the thing in line with the purpose.
(3) A loan for use is terminated upon the death of the borrower..


Article 196
(1) If a possessor returns a thing in the possession thereof, the possessor may have the person recovering the thing reimburse the possessor for the costs the possessor has paid for its preservation and other necessary expenses;provided, however, that if the possessor has acquired fruits, ordinary and necessary expenses are borne by the possessor.
(2) With respect to the costs paid for by a possessor to improve the thing in the possession thereof and other beneficial expenses, the possessor may have the person recovering the thing reimburse the possessor for either the costs the possessor has paid or the amount of the increased value, whichever the person recovering the thing chooses, but only if there is a current increase in value;provided, however, that with regard to a possessor in bad faith, the court may, at the request of the person recovering the thing, grant a reasonable period of time for the same..


Article 588
If any person has an obligation to pay money or deliver other thing under any arrangement, and the parties agree to regard such thing as the subject matter of a loan for consumption, it is deemed that this establishes a loan for consumption..


Article 301
An obligor may demand that a right of retention be terminated by providing a reasonable security.
Article 533
A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..


Article 496
(1) As long as the obligee does not accept the deposit, or the judgment which pronounces that the deposit is effective does not become final and binding, the performer may recover the deposited thingy. In such case, it is deemed that no deposit has been effected.
(2) The provisions of the preceding paragraph do not apply in cases any pledge or mortgage has been extinguished due to the deposit..


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 350
The provisions of Articles 296 through 300 and those of Article 304
apply mutatis mutandis to pledges.
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 496
(1) As long as the obligee does not accept the deposit, or the judgment which pronounces that the deposit is effective does not become final and binding, the performer may recover the deposited thingy. In such case, it is deemed that no deposit has been effected.
(2) The provisions of the preceding paragraph do not apply in cases any pledge or mortgage has been extinguished due to the deposit..
