Yes, the Brazilian Civil Code provides, as a general rule, that the party is exempt of liability in case of FM. A FM is a necessary fact which affects the parties and could not be avoided or prevented. Beyond the legal definition, the parties may expand or elaborate on the consequences of the FM by written agreement.