The risk of something like that happening is not closely connected to anything in the ruling we’re discussing here. If a president manages to hold on to power after losing an election or reaching a term limit, the situation has devolved far beyond ordinary criminal prosecution; the constitution is no longer being enforced at that point.
But Trump won’t be a past president because he won’t leave office until he’s dead. He’ll never be prosecuted, and he knows it.
The risk of something like that happening is not closely connected to anything in the ruling we’re discussing here. If a president manages to hold on to power after losing an election or reaching a term limit, the situation has devolved far beyond ordinary criminal prosecution; the constitution is no longer being enforced at that point.
This ruling is what gives him the immunity to prevent enforcement of the constitution.
Have you read the ruling?