A written settlement agreement prepared in the course of, or pursuant to, a mediation, is not made inadmissible, or protected from disclosure, by provisions of this chapter if the agreement is signed by the settling parties and any of the following conditions are satisfied:
- (a) The agreement provides that it is admissible or subject to disclosure, or words to that effect.
- (b) The agreement provides that it is enforceable or binding or words to that effect.
- (c) All parties to the agreement expressly agree in writing, or orally in accordance with Section 1118, to its disclosure.
- (d) The agreement is used to show fraud, duress, or illegality that is relevant to an issue in dispute.