Instruct: Given a statement, retrieve legal articles that support it
Query: 
In cases where person A is responsible for an obligation toward person B, and performs the entire obligation while knowing that it is before the time of performance, if person B acquires benefit by operating it until the time of performance, the benefit is deemed unjust enrichment in regards to the relationship with person A.


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 499
A person that has performed the obligation for the benefit of the obligor is subrogated to the claim of the obligee..


Article 499 A person that has performed the obligation for the benefit of the obligor is subrogated to the claim of the obligee.
Article 500 The provisions of Article 467 apply mutatis mutandis in the case referred to in the preceding Article (unless a person with a legitimate interest in making performance is subrogated to the claim of the obligee).


Article 128
While it is uncertain whether or not a condition will be fulfilled, a party to a juridical act that is subject to a condition may not prejudice the other party's interests that would arise from the juridical act upon fulfillment of the condition..


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 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 675
(1) A creditor of a partnership may exercise the rights of the creditor against the partnership property.
(2) A creditor of a partnership may, at the choice of the creditor, exercise the rights of the creditor against each partner in proportion to their shares of loss or in equal proportions;provided, however, that if a creditor of a partnership knew the proportion of each partner's share of loss at the time of occurrence of the claim, the exercise of the creditor's rights is based on those proportions..


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 443 (1) If one of the joint and several obligors performs the obligation or otherwise obtains a common discharge in exchange for that obligor's own property, while knowing the existence of other joint and several obligors but without giving notice of the common discharge to the other joint and several obligors, another joint and several obligor has a defense that can be duly asserted against the obligee, the other joint and several obligor may duly assert that defense against the joint and several obligor that obtained the discharge to the extent of the other obligor's share of the obligation. In such a case, if the other joint and several obligor duly asserts a set-off as defense against the joint and several obligor that obtained the discharge, the joint and several obligor may request the obligee to perform the obligation which should have been extinguished due to set-off.


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 303
The holder of a statutory lien has the rights to have that holder's own claim satisfied prior to other obligees out of the assets of the relevant obligor in accordance with the provisions of laws including this Act.
Article 388
If the land and a building on that land belong to the same owner, a mortgage is created with respect to that land or building, and the enforcement of that mortgage causes them to belong to different owners, it is deemed that a superficies has been created with respect to that building.In this case, the rent is fixed by the court at the request of the parties..


Article 162
(1) A person that possesses the property of another for 20 years peacefully and openly with the intention to own it acquires ownership thereof.
(2) A person that possesses the property of another for 10 years peacefully and openly with an intention to own it acquires ownership thereof if the person was acting in good faith and was not negligent at the time when the possession started..


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 468
(1) An obligor may duly assert against the assignee any event that has taken place with regard to the assignor by the time of completion of the perfection.
(2) For the purpose of the application of the provisions of the preceding paragraph in the case referred to in Article 466, paragraph (4), the phrase "at the time of the completion of the perfection" in that paragraph is deemed to be replaced with "at the time when a reasonable period of time referred to in Article 466, paragraph (4) has elapsed"; and to apply the provisions of that paragraph in the case referred to in Article 466-3, the phrase "at the time of the completion of the perfection" in that paragraph is deemed to be replaced with "at the time when the obligor receives a request from the assignee referred to in Article 466-3 to make a deposit with an official depository pursuant to the provisions of that Article"..


Article 714
(1) When a person without capacity to be assume responsibility is not liable pursuant to the provisions of the preceding two Articles, the person with the statutory obligation to supervise the person without capacity to assume responsibility is liable to compensate for damage that the person without capacity to be assume responsibility has inflicted on a third party;provided, however, that this does not apply if the person who has the obligation to supervise has not failed to perform that person's obligation or if the damage could not have been avoided even if that person had not failed to perform that person's obligation.
(2) A person who supervises a person without capacity to be assume responsibility on behalf of the person who has the obligation to supervise also has the liability referred to in the preceding paragraph..


Article 477
Performance made by making payment into the obligee's account for deposits becomes effective when the obligee acquires a right to demand the refund of the amount paid, against the obligor of the claim to be paid from deposits.
Article 475
If a person effecting performance has delivered a thing owned by another person in performance of the obligation, the person so effecting performance may not recover that thing without effecting valid performance de novo..


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 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 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 412
(1) If a fixed due date is assigned to the performance of an obligation, the obligor is liable for delay from the time that due date arrives.
(2) If an uncertain due date is assigned to the performance of an obligation, the obligor is liable for delay from the time when the obligor receives the request for performance after the due date arrives or the time when the obligor becomes aware of the arrival of that due date, whichever comes earlier.
(3) If no time limit is assigned to the performance of an obligation, the obligor is liable for delay from the time the obligor receives the request for performance..


Article 350
The provisions of Articles 296 through 300 and those of Article 304
apply mutatis mutandis to pledges.
Article 297
(1) A holder of a right of retention may collect fruits derived from the thing retained, and appropriate the same to the satisfaction of that holder's own claim before other obligees.
(2) The fruits referred to in the preceding paragraph must be appropriated first to the payment of interest on the claim, and any remainder must be appropriated to the satisfaction of the principal..


Article 479
Except as provided in the preceding Article, any performance made to a person other than the person with right to performance is effective only to the extent that the obligee is enriched as a result thereof.
Article 478
Performance made to a person that does not constitute a person authorized to accept the performance (meaning the obligee or a third party authorized to accept performance based on the provisions of laws and regulations or the manifestation of intention of the parties; the same applies hereinafter) but that appears to be the person authorized to accept the performance in light of common sense in the transaction is effective only if the person effecting performance was acting in good faith and without negligence..


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 192
A person that commences the possession of movables peacefully and openly by a transactional act acquires the rights that are exercised with respect to the movables immediately if the person possesses it in good faith and without negligence..


Article 462
(1) The provisions of Article 459-2, paragraph (1) apply mutatis mutandis if a person, that has given guarantee without the request of the principal obligor, performs an act for extinguishment of obligation.
(2) A person that has become a guarantor against the will of the principal obligor has the right to reimbursement only to the extent currently enriched.In this case, if the principal obligor asserts to have grounds for set-off against the obligee prior to the day of the demand for reimbursement, the guarantor may demand that the obligee perform the obligation which would have been extinguished by that set-off.
(3) The provisions of Article 459-2, paragraph (3) apply mutatis mutandis to the exercise of the right to reimbursement if the guarantor referred to in the preceding two paragraphs performs an act for extinguishment of obligation before the due date of the principal obligation..


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 632
A contract for work become effective when one of the parties promises to complete work and the other party promises to pay remuneration for the outcome of the work.
Article 633
Remuneration must be paid simultaneously with delivery of the subject matter of work performed;provided, however, that if no delivery of a thing is required, the provisions of Article 624, paragraph (1) apply mutatis mutandis.
Article 624
(1) An employee may not demand remuneration until the work the employee promised to perform has been completed.
(2) Remuneration specified with reference to a period may be claimed after the passage of that period..
