How did the Napoleonic code affect France?

It simplified the law.

It secularized the law.