Article 509Prohibition of Effecting Set-Offs Against Claims Arising from Tort as Passive Sett-Off Claim
第五百九条(不法行為等により生じた債権を受働債権とする相殺の禁止)
The obligor of either of the following obligations may not duly assert a set-off against the obligee; provided, however, that this does not apply if the obligee acquires a claim corresponding to the relevant obligation from another person:
次に掲げる債務の債務者は、相殺をもって債権者に対抗することができない。ただし、その債権者がその債務に係る債権を他人から譲り受けたときは、この限りでない。
an obligation for damages based on a tort committed in bad faith; or
悪意による不法行為に基づく損害賠償の債務
an obligation for damages for death or injury to person (excluding the one stated in the preceding item).
人の生命又は身体の侵害による損害賠償の債務(前号に掲げるものを除く。)
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.