Although the 1943 Cairo Declaration had envisaged returning these territories to China, it had no legal status as treaty, and also in the Treaty of San Francisco and Treaty of Taipei Japan renounced all claim to them without specifying to what country they were to be surrendered. This introduced the disputed sovereignty status of Taiwan and whether the ROC has sovereignty over Taiwan or only remaining over Kinmen and Matsu Islands.