Dutch companies like Unilever set up a legal mechanism that would prevent assets from being confiscated before the Netherlands was invaded , said Harold James , a history professor at Princeton University .