A person who concludes a contract as an agent of another person is liable to the counterparty for the performance of the contract or damages, as chosen by the counterparty, unless the person proves their authority to represent or the principal ratifies the contract.
他人の代理人として契約をした者は、自己の代理権を証明したとき、又は本人の追認を得たときを除き、相手方の選択に従い、相手方に対して履行又は損害賠償の責任を負う。
The provisions of the preceding paragraph do not apply in the following cases:
前項の規定は、次に掲げる場合には、適用しない。
if the counterparty knew that the person who concluded the contract as an agent of the other person had no authority to represent;
他人の代理人として契約をした者が代理権を有しないことを相手方が知っていたとき。
if the counterparty was negligent in not knowing that the person who concluded the contract as an agent of the other person had no authority to represent; provided, however, that this does not apply if the person who concluded a contract as an agent of the other person knew themselves to have no authority to represent; or
他人の代理人として契約をした者が代理権を有しないことを相手方が過失によって知らなかったとき。ただし、他人の代理人として契約をした者が自己に代理権がないことを知っていたときは、この限りでない。
if the legal capacity to act of the person who concluded the contract as an agent of the other person was subject to restrictions.
他人の代理人として契約をした者が行為能力の制限を受けていたとき。
Read this with the articles around it
damages
損害賠償
Compensation for loss one person has caused another. A debtor who does not perform an obligation as it should be performed, or cannot perform it, must compensate the creditor for the loss that results, unless the failure comes from a cause the debtor is not responsible for, judged by the contract or other source of the obligation and by accepted views in dealings (Civil Code, Article 415, paragraph (1)); and a person who, intentionally or negligently, infringes another's rights or legally protected interests must compensate for the loss that results (Article 709). It is paid in money unless otherwise agreed (Articles 417 and 722, paragraph (1)), and the parties to a contract may agree in advance the amount due if it is not performed; a sum fixed for breach (違約金) is presumed to be such an agreement (Article 420, paragraphs (1) and (3)). The Consumer Contract Act makes void the part of such an amount in a consumer contract, for its cancellation, with any penalty added, above the average loss the business would suffer from the cancellation of consumer contracts of that kind, measured separately for each category the clause sets, such as the reason for and time of cancellation (Consumer Contract Act, Article 9, paragraph (1), item (i)).
Written for this site using Civil Code, Arts. 415, 417, 420, 709, 722 and Consumer Contract Act, Art. 9 as a reference.