Highly specific. Suggest you speak to a lawyer.
That said: while 2 1/2 years for PGP may seem long, my understanding is it's not that long actually. If not excessively long, mandamus tends to be unsuccessful - or in other words, 'this may be long, but it's not exceptionally long processing time' is actually a working defence for the IRCC.