What if said pope's election was deemed invalid, per canon law regarding electioneering?
Yes, I know +Rene Gracida and others see it that way. But even then, per canonical due process, there would have to be a trial, evidence, witnesses. In my opinion, that’s never going to happen.
And without due process, all you’ve got is opinions.