Napoleon left great and lasting testimonies to his genius—in codes of law and national identities which survive to the present day.