@gkmizuno I would have to reread the opinion, feel free to paste me an excerpt saying otherwise, but as far as I remember had Trump been found guilty of a federal charge of treason or insurrection, that would entirely resolve the Court's complaint about Congress needing to pass a law.
That guilty verdict would come as a result of the laws that Congress has already passed.
The problem here is that Trump was being found guilty of something outside of any federal law by a state court.
At least, it would resolve the matter that the court addressed, it would bring up some deeper questions, but it would resolve this one.