The Philippines and Japan signed a key defence pact on Monday that will allow the deployment of troops on each other's territory, as they boost ties in the face of China's growing assertiveness.
The Reciprocal Access Agreement (RAA) was finalised in Manila, where Japanese Defence Minister Minoru Kihara and Foreign Minister Yoko Kamikawa are holding talks with their Philippine counterparts Gilberto Teodoro and Enrique Manalo.
The accord, which Tokyo and Manila began negotiating in November, provides the legal framework for Japan and the Philippines to send defence personnel to each other's territory for training and other operations.
Teodoro and Kamikawa signed the agreement at the presidential palace, presidential communications secretary Cheloy Garafil told AFP.
The Philippines and Japan are longtime allies of the United States, which has been strengthening its alliances from Canberra to Tokyo to counter China's growing military might and influence in the region.
Chinese officials have accused the United States of trying to create an Asia-Pacific version of NATO.
The signing of the RAA comes as China's growing sabre-rattling towards Taiwan and over the South China Sea fuels fears of a potential conflict that could drag in the United States.
There have been escalating confrontations at sea between Chinese and Philippine ships as Beijing steps up efforts to push its claims to nearly all of the strategic waterway.
The most serious in a number of incidents happened on June 17 when Chinese coast guard personnel wielding knives, sticks and an axe surrounded and boarded three Philippine navy boats during a resupply mission to Second Thomas Shoal in the Spratly Islands.
A Filipino sailor lost his thumb in the incident.
Tokyo and Beijing are also at loggerheads over Japan-controlled disputed islands in the East China Sea.
Japan invaded and occupied the Philippines during World War II, but the two countries have since grown closer due to trade and investment, and more recently, to counter a resurgent China.
Japan is a key supplier of security equipment to the Philippines, including patrol vessels for its coast guard and a coastal radar surveillance system.
Tokyo's ambassador to Manila, Kazuya Endo, flagged in a speech on Thursday "significant developments" in Japan's defence equipment supplies to the Philippines.
'Linchpin'
Tokyo has signed similar reciprocal access agreements with Britain and Australia in recent years.
The Philippines has equivalent pacts with the United States and Australia and plans to pursue one with France.
The RAA between Manila and Tokyo was important because it would enable the Philippines "to enhance our interoperability with like-minded partners", said Manila-based geopolitical analyst Don McLain Gill.
"This would also complement what we are trying to do in terms of enhancing our security partnerships within the US hub and spokes network."
The Philippines has been a key focus of US efforts to build an arc of alliances, owing to its position in the South China Sea and proximity to Taiwan, which China claims as its own.
Philippine support would be crucial for the United States in the event of any conflict.
Leaders from Japan, the Philippines and the United States had their first trilateral summit in April aimed at boosting defence ties in Washington.
It was held on the heels of four-way military drills that included Australia in the South China Sea, riling Beijing.
Japan, wary about possible future changes in US policy in the region, was also seeking "to play a larger role" as an independent and stabilising force, Gill the analyst, said.
"The Japanese would like to impress upon the Americans that Japan is the linchpin of US security presence, military presence here in the region, and of course, the most reliable ally of the United States," said Renato Cruz De Castro, professor for international studies at De La Salle University in Manila.