NEW DELHI : India will hold counter-terrorism exercises with China despite a recent face-off on their disputed border, officials said, in a sign the two governments want to manage their deep differences.

India, which under Prime Minister Narendra Modi has struck an assertive national security posture, also agreed to China’s request to move next month’s exercises away from the border with Pakistan with which China shares a close relationship. The manoeuvres will come just weeks after thousands of Indian and Chinese soldiers confronted each other on their de facto border in the western Himalayas, accusing each other of building roads and observations posts in disputed territory. “The exercises are a confidence-building measure, it is in everyone’s interest,” Jayadeva Ranade, the China specialist on India’s National Security Advisory Board, told Reuters.

“It doesn’t mean anyone is conceding anything.”

The row in the Chumar sector of the Ladakh region erupted just as China’s President Xi Jinping was visiting New Delhi for his first summit with Modi since the Indian leader’s election in May. The leaders of the Asian giants aim to ramp up commercial ties.

“China had agreed to it initially, but then they opted for a change because the border got hot,” said an Indian military source, speaking on condition of anonymity.

The two armies will field 103 soldiers each for the “hand-in-hand” manoeuvres in the western city of Pune that involve scenarios such as recapturing a border post taken over by terrorists, the military source said.

China says it faces a threat from extremists in its far western region of Xinjiang, some of whom it says have received training overseas, including in Pakistan and Afghanistan.

The large armies of India and China, who fought a brief war in 1962, have limited interaction and the exercises themselves are nowhere near the scale and sophistication of India’s annual war games with the United States involving thousands of naval, army and air force personnel.

“The India-China joint operations are meant to open a channel of communication between soldiers at the medium- and low-levels,” said Srikanth Kondapalli, a China specialist at New Delhi’s Jawaharlal Nehru University. “It builds a bit of trust, especially after the Chumar incident.”