Text this: Foreign investments and international law