TOKYO — Japan's purchase of several disputed islands from their private owners was aimed at keeping nationalist activists at bay and reducing tensions with China, but now the government must deal with Beijing's anger over the move.

Prime Minister Yoshihiko Noda's administration was left with little choice but to buy the rocky outcroppings in the East China Sea after the stridently nationalistic governor of Tokyo, Shintaro Ishihara, announced a plan in April to buy the islands from their Japanese owners and then develop them to ensure that they would never be sold to China.

The prospect of construction on the islands – and boatloads of activists landing on their shores – would be sure to upset China, so the central government stepped in Tuesday to buy the islands for 2.05 billion yen ($26 million). It has no plans to develop them.

Beijing's response was swift and strong, calling the purchase "null and void" and threatening "serious consequences." China sent two patrol ships to waters near the islands, according to the official Xinhua News Agency, although Japanese coast guard officials said no Chinese ships had been sighted within 24 miles (38 kilometers) of the islands as of Wednesday afternoon.

"There's no doubt that the purchase was caused by Ishihara's initiative," said Koichi Nakano, a political science professor at Sophia University in Tokyo. "It's a severe loss of face for the Chinese. ... They will probably feel the need to do something" in response.

In Beijing, Luo Zhaohui, director-general of Asian affairs at China's Foreign Ministry, told a Japanese diplomat on Wednesday that China will not tolerate any unilateral act by Japan and asked Japan to immediately revoke its purchase of the islands, known as Senkaku in Japan and Diaoyu in China.

Analysts said that while prospects for military conflict remained remote, tensions between the two Asian giants would likely remain high for some time. In a move meant to assert its sovereignty, China announced coordinates marking areas off the Islands that it considers its territory.

China might also cancel some Japan-related events. In 2010, it stopped exports to Japan of rare earth metals that are used in high-tech manufacturing after Tokyo arrested a fishing boat captain whose trawler collided with two Japanese patrol boats off the disputed islands.

Still, China doesn't want too much trouble while it undergoes a major leadership transition this fall, and both nations presumably don't want to damage their vital economic relationship.

"If I were Chinese leadership, I wouldn't want any kind of trouble before such a delicate moment," said Tsuneo Watanabe, a senior fellow at the Tokyo Foundation, a think tank.

In Beijing on Wednesday, dozens of people at a time staged angry protests and shouted slogans in front of the Japanese Embassy. One group carrying a big Chinese flag chanted "Fight the Japanese" as they marched by the embassy's gate.

Beijing travel agencies reported that companies and individuals were canceling trips to Japan.

"We just got an oral notice minutes ago that we should suggest or persuade our customers not to go to Japan at this stage," said a man surnamed Wang at China Travel Service. "The order is probably from the tourist authorities."

Users of the Chinese Twitter-like site Sina Weibo were calling for a boycott of Japanese-made goods.

"The government should be the first one not to buy Japanese goods, all the people should boycott Japanese goods, change our technological dependence from Japan to Korea and Germany," Zhou Tianyong, a senior researcher at the Communist Party's training institute, wrote on Weibo.

The annual Shanghai marathon, scheduled for December, could drop the name of its Japanese sponsor from its title because of the dispute, the Shanghai Sports Administration said.

Japan has claimed the islands since 1895. The U.S. took jurisdiction after World War II and turned them over to Japan in 1972. But Beijing sees the purchase as an affront to its claims and its past calls for negotiations.

Gui Yongtao, a professor at the School of International Studies at Peking University, said it was unlikely that either side would back down easily.

"The situation could be frozen for a period of time with both sides trying to avoid taking more radical actions," he said.

Japan's Nikkei business newspaper defended the government's move in an editorial Wednesday, saying it actually would help Japan-China relations.

"If the government didn't purchase them, the Tokyo metropolitan government was to own them instead under Gov. Ishihara, who is known as a China hawk. Possession and control by the government serves better for broader Japan-China relations. The government should emphasize this benefit to China," it said.

___

Associated Press writers Louise Watt and Didi Tang and researchers Yu Bing and Fu Ting in Beijing, and Mari Yamaguchi and Eric Talmadge in Tokyo contributed to this report.

Also on HuffPost:

Loading Slideshow...
  • Senkaku, or Diaoyu, Islands

    Located in the East China Sea near Taiwan and the southern Japanese island of Okinawa, these remote uninhabited isles have been under Japanese control since 1895. They are seen as important because of their strategic location, and are surrounded by rich fishing grounds and may be near underwater resources such as natural gas. China claims it discovered them in the 14th century. Claimed by Japan, China and Taiwan. <br><em>An anti-Japan protester shouts slogans near a Chinese national flag outside the Japanese Embassy in Beijing, China, on Friday, Aug. 17, 2012. (AP Photo/Alexander F. Yuan)</em>

  • Dokdo, or Takeshima

    Administered by South Korea since the 1950s, these outcroppings in the Sea of Japan, called the East Sea in Korea, are inhabited only by a contingent of South Korean police. Claimed by South Korea and Japan. <br><em>South Korean protesters shout slogans during a rally against Japan's sovereignty claims over the islet of Dokdo in South Korea, which is known as Takeshima in Japan, in front of the Japanese Embassy in Seoul, South Korea, on Friday, Aug. 17, 2012. (AP Photo/Ahn Young-joon)</em>

  • Kuril Islands

    Located off the Russian Far East and Japan's northernmost main island, the southern Kurils were occupied by the Soviets in the closing days of World War II, and Japan before that. Four of the Russian-controlled islands, which have small military and civilian populations, are in dispute and have kept Japan and Russia from signing a formal treaty ending their wartime hostilities. They are a base for fishing operations and a rich source of crab. Claimed by Russia and Japan. <br><em>Japanese Prime Minister Shinzo Abe speaks in front of a map of islands, known as Northern Territories in Japan and Kuril islands on February 7, 2007, in Tokyo, Japan. Held in Russia, the meeting demanded the return of the islands. (Photo by Junko Kimura/Getty Images)</em>

  • Spratly Islands

    A flashpoint in the South China Sea, they are comprised of hundreds of coral reefs, islets and atolls claimed entirely or in part by China, Taiwan, Vietnam, Malaysia, Brunei and the Philippines. <br><em>This July 20, 2011, file photo shows an aerial view of the Pag-asa Island, part of the disputed Spratly group of islands, in the South China Sea located off the coast of western Philippines. (AP Photo/Rolex Dela Pena, Pool, File)</em>

  • Paracel Islands

    About halfway between China and Vietnam in the South China Sea, they are claimed by China, Vietnam and Taiwan. They are called Xisha in Chinese and Hoang Sa in Vietnamese. China and Vietnam had a conflict over them in the 1970s, and China has controlled them since then. <br><em>This July 27, 2012, photo shows an aerial view of Sansha, a city on the disputed Paracel islands, which is now considered by China as a part of the Hainan province. (STR/AFP/GettyImages)</em>