The police force used against protesters this month was a “preventive measure,” said the president of Azad Jammu and Kashmir, Masood Khan, saying that the police response was restrained compared with that used by Indian forces on the other side of the line, who he said at times open fire on protesters trying to cross the border, resulting in serious injuries.

“There is a high degree of tolerance for dissent. There is an overwhelming pro-Pakistan sentiment in Azad Kashmir and Indian-occupied Kashmir,” Mr. Khan added.

But Kashmiri nationalists are forbidden in government. Elected officials like Mr. Khan must sign a declaration before they can run for office stating that they “believe in the ideology of Pakistan” and in Kashmir’s eventually accession to become a formal part of that country.

Some here say that Pakistan’s response is also rooted in the fear that militants the Pakistani security forces once mobilized to fight India in Kashmir are gearing up again right as Pakistan faces the threat of international sanctions if it does not crack down on terrorist groups.

One former Kashmiri militant said he was angry at what he saw as a hypocritical betrayal by Pakistani officials, who recently shut down the border after pushing various militants to cross it in the 1990s.

The militant, who spoke on condition of anonymity out of fear of reprisal by the authorities, said Pakistan’s military had “polluted” the Kashmiri cause by using the issue as a rallying cry for various terrorist groups in Pakistan to fight India, including Lashkar-e-Taiba, which took part in later attacks against India’s parliament in 2001 and in Mumbai in 2008.