Legal support of foreign investors