Shoalwater Bay Training Area till 2009. 14 December 2005 – Singapore attends the inaugural East Asia Summit (EAS). 18 November 2007 – Singapore signed an agreement with China to jointly develop Tianjin Eco-city. 23 May 2008 – territorial dispute of Pedra Branca with Malaysia is largely settled through adjudication by International Court of Justice with Singapore getting Pedra Branca and Malaysia awarded Middle Rocks. 20 September 2010 – railway land owned by Malaysia through KTM is returned to Singapore in exchange for joint development of plots of land at prime locations, ending the 20-year impasse of the Points of Agreement. 23 November 2016 – 9 Terrex infantry carrier vehicles were detained in Kwai Chung Container Terminal at Hong Kong while en route from Taiwan. The vehicles were detained for more than two months despite diplomatic efforts by Singapore to retrieve its assets, signalling deteriorating of ties with China. Foreign policy Singapore's leaders are realists; they perceive a Hobbesian world where might makes right. The resultant siege mentality is due to Singapore's geographical weaknesses, mistrust of Malaysia and Indonesia due to historical baggage, and from how it stands out as a "little red dot in a sea of green", as then-President Habibie of Indonesia put it. Singapore's first foreign minister was S. Rajaratnam, and the country's foreign policy still bears his imprimatur. Rajaratnam originally framed Singapore's foreign policy, taking into account "the jungle of international politics", and was wary of foreign policy "on the basis of permanent enemies." In 1966, S. Rajaratnam saw Singapore's challenge as ensuring its sustained survival, peace, and prosperity in a region suffering from mutual jealousies, internal violence, economic disintegration and great power conflicts. In accordance with this worldview, Singapore's foreign policy is aimed at maintaining friendly relations with all countries, especially Malaysia, Indonesia, and ASEAN, and ensuring that its actions do not exacerbate its neighbours' insecurities. In 1972, Rajaratnam envisioned the world being Singapore's hinterland – integration into the world economy would ameliorate Singapore's inherent lack of natural resources. Thus, Rajaratnam believed that maintaining a balance of power, rather than becoming a de facto vassal of some larger power, would provide Singapore with freedom to pursue an independent foreign policy. The cultivation of the great powers' interest in Singapore also would effectively function to deter the interference of regional powers. Trade agreements International organizations APEC The Asia-Pacific Economic Cooperation (APEC) is based in Singapore, of which