India wants to protect its foreign investors, but there’s a catch