It's worse than that:
the Declaration was very specific:
"...We strongly condemn terrorist attacks resulting in death to innocent Afghan nationals. There is a need for immediate cessation of violence. We reaffirm our support to the people of Afghanistan in their efforts to achieve "Afghan-led and Afghan-owned" peace and national reconciliation, to the ongoing international efforts...We support the efforts of the Afghan National Defense and Security Forces in fighting terrorist organizations.
"We, in this regard, express concern on the security situation in the region and violence caused by the Taliban, ISIL/DAISH, Al-Qaida and its affiliates including Eastern Turkistan Islamic Movement, Islamic Movement of Uzbekistan, the Haqqani network, Lashkar-e-Taiba, Jaish-e-Mohammad, TTP and Hizb ut-Tahrir.
"We deplore all terrorist attacks worldwide, including attacks in BRICS countries, and condemn terrorism in all its forms and manifestations wherever committed and by whomsoever and stress that there can be no justification whatsoever for any act of terrorism. We reaffirm that those responsible for committing, organizing, or supporting terrorist acts must be held accountable. Recalling the primary leading role and responsibility of states in preventing and countering terrorism, we stress the necessity to develop international cooperation, in accordance with the principles of international law, including that of sovereign equality of states and non-interference in their internal affairs. We reaffirm solidarity and resolve in the fight against terrorism, value the 2nd BRICS Counter-Terrorism Working Group Meeting held in Beijing on 18 May 2017, and agree to strengthen our cooperation.
We call upon all nations to adopt a comprehensive approach in combating terrorism, which should include countering radicalization, recruitment, movement of terrorists including Foreign Terrorist Fighters, blocking sources of financing terrorism including, for instance, through organized crime by means of money-laundering, supply of weapons, drug trafficking and other criminal activities, dismantling terrorist bases, and countering misuse of the Internet including social media by terrorist entities through misuse of the latest Information and Communication Technologies (ICTs). We are committed to prevent and counter the growing spread of terrorist narratives, and to tackle all sources, techniques and channels of terrorist financing. We call for swift and effective implementation of relevant UNSC Resolutions -"
This is an ultimatum in all but name: a message that this is Pakistan's last chance to change course without at the very least "losing face", as the Chinese put it. The bit about "sovereign equality of states" and citing UN obligations and what are the terms UNSCR 1373 (which limits such sovereignty) is a kind of line in the sand.
As German newspaper
Deutsche Welles puts it:
Pakistan's foreign policy in a nutshell: As long as China is backing us, we don't have to worry about the United States or the rest of the world.
But China is not backing Pakistan's policies any more. Now what will Pakistan's policymakers do?
One more thing: this game of foreign leaders saying one thing publicly and then Pakistani leaders claiming to their own people that foreign leaders reversed themselves in private conversations [
link] is also a driver in Pakistan's diplomatic isolation: no foreign official can have any assurance that a private conversation with a Pakistani official won't be mis-represented. So the dirty laundry has to be discussed in the open, putting a premium on posturing and egos. Not a good thing. Perhaps ordinary Pakistanis and the Pakistani media can do something to lower tempers by not taking such claims at face value and calling their officials to account?