Good point. My initial thought was that Smith, as corrupt as he seems, may be attempting to make a graceful exit by having the Supreme Court find that Trump cannot be prosecuted.
Smith has shown himself to be completely corrupt. Whatever the reason, it isn't to be graceful.