Treaty
Treaties can be loosely compared to contracts: both are means of willing parties assuming obligations among themselves, and a party to either that fails to live up to their obligations can be held liable under international law.

Q: What must be the attitude of a party towards assuming the legal obligations of the treaty?
willing