The tiny islets, known as Takeshima in Japan and Dokdo in South Korea, which controls them, have long been a source of tension between the neighboring countries.