You don't know that, nor the process by which the Code was developed. If the same process was used as for the Civil Code, then Napoleon did not always get what he wanted in the Code. It is quite possible that the Penal Code was developed in the same way.
Wikipedia is not a reliable source for things historical. Perhaps you can find a better source?