So you are arguing the Treaty of Paris was theft? Okay then.
Foreign countries that didn't adopt it were not subject to the Code Napoleon.