The lawyers came up with the terms and contingencies. Once signed, you're expected to hold up your end of the deal. I'm sure the lawyers have experience with court-cases / whatnot and have the precise court-cases which led to this style of agreement... but that doesn't matter anymore.
Musk agreed to it, so it must be upheld in that manner.