An embarrassed Pakistan on Wednesday said the listing of Jaish-e-Mohammad (JeM) chief Masood Azhar as a global terrorist had been agreed upon after "all political references, including removal of attempts to link it with the terror attack in Pulwama and maligning the struggle of the Kashmiris".