The court made the decision based on former President Donald Trump's role during the Jan. 6 attack on the Capitol.