Updated

President Barack Obama said a 10-year agreement signed Monday to give the U.S military greater access to Philippine bases will help promote peace and stability in the region and that he hopes China's dominant power will allow its neighbors to prosper on their own terms.

The Enhanced Defense Cooperation Agreement signed as Obama arrived in the Philippines will give American forces temporary access to selected military camps and allow them to preposition fighter jets and ships. It is being seen as an effort by Washington to counter Chinese aggression in the region, and Obama said his message to China is, "We want to be a partner with you in upholding international law."

"Our goal is not to counter China. Our goal is not to contain China. Our goal is to make sure international rules and norms are respected and that includes in the area of international disputes," Obama said at a news conference with Philippine President Benigno Aquino at the Malacanang Palace.

Obama's overnight visit to the Philippines is the last stop of a weeklong Asia tour that also included Japan, South Korea and Malaysia. At each stop along his tour, Obama reaffirmed the U.S. treaty commitments to defend its Asian allies, including in their territorial disputes with China.

"We don't even take a specific position on the disputes between nations but as a matter of international law and international norms we don't think that coercion and intimidation is the way to manage these disputes," Obama said. He added that when the U.S. has disputes with its neighbors, it works them out through dialogue. "We don't go around sending ships and threatening folks."

With its anemic military, the Philippines has struggled to bolster its territorial defense amid China's increasingly assertive behavior in the oil- and gas-rich South China Sea, which Obama flew over on his way here, according to the Air Force One cockpit. Chinese paramilitary ships took effective control of the disputed Scarborough Shoal, a rich fishing ground off the northwestern Philippines, in 2012. Last year, Chinese coast guard ships surrounded another contested offshore South China Sea territory, the Second Thomas Shoal.

Aquino, standing next to Obama in front of a lush backdrop of tropical plants, said the new agreement with the U.S. "takes our security cooperation to a higher level of engagement ... and promotes regional peace and stability."

Still, the U.S. increased military role has raised objections from some Filipinos and led to recent clashes outside the U.S. Embassy between police and more than 100 left-wing activists who protested Obama's visit and the new security arrangement. Activists say the agreement reverses democratic gains achieved when huge U.S. military bases were shut down in the early 1990s, ending nearly a century of American military presence in the Philippines, a sensitive issue in this former U.S. colony.

Obama sought to allay those concerns, saying at the outset of his remarks, "I want to be very clear -- the United States is not trying to reclaim or open new bases." Instead he said the agreement will help improve maritime security and speed response to natural disasters in the region.

Filipino facilities would remain under Philippine control and U.S. forces would rotate in and out for joint training, as some already do, and not be based in the country, he said. The Philippine Constitution bars permanent U.S. military bases, although hundreds of American military personnel have been deployed in the southern Philippines since 2002 to provide counterterrorism training to Filipino soldiers fighting Muslim militants.

Many details, including the size and duration of the U.S. military presence, remain to be worked out with the Philippine government. The White House has declined to say which places are being considered under the agreement, but that the long-shuttered U.S. facility at Subic Bay could be one of the locations.

U.S. Ambassador Philip Goldberg and Philippine Defense Secretary Voltaire Gazmin signed the agreement at the main military camp in the capital, Manila, shortly before Obama's arrival in the country.

Obama was to be the honored guest at a state dinner at Malacanang Palace later Monday. On Tuesday, he planned to pay his respects at the U.S. military cemetery at Fort Bonitacio and address hundreds of troops stationed there before Air Force One brings him back to Washington.

While in the Philippines, human rights groups say Obama should press the government to fulfill pledges to improve its record. They say Obama should use future U.S. military cooperation as an incentive for the government to investigate and prosecute abuses.