This is the French Presidential election, not a parliamentary election. Which means it's not PR, just a runoff if there is no majority.
The closest parallel I can think of is the Louisiana elections system, where former Klansman David Duke ran as a Republican, leading to the Republican party endorsing the Democratic candidate as a conseqence. And I'll give my consent to any government that does not deny a man a living wage-Billy Bragg