The president is immune to justice. Literally. It's the worst part of our system. For example if Fillon had been elected the case against him would have been halted for 5 years. If the president was to die suddenly, the president of the senate would act as temporary president, with his only job being to organize new elections.