EU to legalize theft of foreign assets