State liability for lawful acts and the principle of compensation