This is hard to overstate. Successful coups are sort of always legal by definition. Trump v. US made failed coups by the President legal. The self preservation incentive is gone.