Senate rules. After the conviction vote, there is a separate vote on barring the accused from holding future office. It was always meant to be implemented after a conviction, but nothing says they cannot twist it to apply now.
Wow.
After an acquittal by the Senate, Mitch McConnell won’t obey Pelosi’s orders to hold such a vote.