If he actually gives up power in 2029 I'm pretty sure he'll do a mass pardon. But since presidents aren't supposed to pardon themselves I wouldn't be surprised if it can be struck down.