An EU document briefly notes something about
the Prime Minister’s announced plan to naturalise Afghans in Pakistan that was almost immediately revoked
A bit more googling finds a lot more details about what that 2018 plan entailed:
Pakistani Prime Minister Imran Khan, in an unprecedented announcement Sunday, pledged to offer Pakistani citizenship to hundreds of thousands of Afghans born to refugee families his country has been hosting for decades.
"Afghans whose children have been raised and born in Pakistan will be granted citizenship inshallah (God willing) because this is the established practice in countries around the world. You get an American passport if you are born in America," said Khan, who took office last month. [...]
The Pakistani leader explained that since he is also directly overseeing the federal Interior Ministry, which is responsible for granting passports and identification cards, he will instruct his staff to make efforts without further delay to offer Pakistani nationality to the people "who have come from Afghanistan and whose children are raised and born in here."
However, nothing is said there why the plan was quickly dropped, as the (later) EU document claims happened. So who opposed Khan's plan or what made him change his mind?