The law, courts, justice system only works in a lawful society where those systems have not already failed and broken down. The reason you want to protect those institutions, keeping them effective, is that when they fail, as we can see daily, corruption and criminality on the part of the powerful, run unchecked.
A consequence of this however is that having failed, as often lauded “checks&balances” have comprehensively done in the US, there can be no expectation that the corrupt criminals in power will ever be held accountable by the existing institutions that they have subverted.
That is how in a period of restoration a country will resort to The Nurenberg Trials. In South Africa that is what The Truth and Reconciliation Commission (TRC) was for.
Someday, unless US democracy is in fact dead, it will not be the existing law or courts of justice that decide on the punishment of this evil kakistocracy. It will be some special tribunal. And, of necessity, the protections these criminals have availed themselves of, by subverting the courts and the justice system will not be able to apply to the outlaws.