Apparently, one of the explanations that is being bandied about for this raid is the theory that if Trump is convicted for mishandling government documents, then he would be barred from holding public office - including the presidency - under 18 USC 2071.
However, that statute is quite possibly unconstitutional as applied to the office of the president. The Constitution imposes three requirements for a person to be the president: be at least 35 years of age, be a natural born US Citizen, and have lived in the US for at least 14 years. There is no requirement that the individual in question not have a criminal record, even a federal criminal record.
Accordingly, as applied to the office of the president, 18 USC 2071 would effectively be imposing an additional requirement for a person to qualify as the president over and above what the Constitution requires, and as such would be unconstitutional.
I think this argument has great merit.