He wasn’t French. He was Austrian, imposed by Napoleon III.
I caught that error after I hit the post button. But he was backed by the French which was bad enough.