Are political deals legally enforceable if they are in writing?
For example, let's imagine a candidate makes a deal with a political party: "I agree not to run for office in race X right now, if you agree not field a candidate against me in race Y which is coming up next year and promise to pay me an indemnity of $500,000 if you break the agreement and run in the race anyway."
Is a deal like this enforceable?