The law of naval warfare prohibits such attacks within the 12-nautical-mile territorial seas of neutral states, such as India or Sri Lanka