Penalty clauses in agreements: how to avoid a red card