Does that oem part # replace G 052 171 A2
It does. G 052 171 A2 has been "dropped without replacement" according to VW's "Parts on Command" ordering system that dealers use:
And when I use Partslink24 for the most upto date part number, this is what I get:
Partslink24 is an aftermarket web parts catalog for several brands. It is put together by LexCom. Lexcom is who creates and updates ETKA for VW, so it's the same data set, just lacking a few features that ETKA has. In some cases, this is not as easy to reverse look up parts number and the compatibility of that part to what specific models, but it has a good, accurate VIN look up.
I know from experience that NFP and LHD code 02Q transmissions are also two of the more common TDI transmissions of that era. Catalog lists that G 052 527 A2 as the only/current part number for those specific transmissions.
VW has not officially superceded the 171 A2 yet, but when I manually look up the transmissions that used to use it, I get this new part number. This includes going back to look at Mk4s with 02M 6 speeds (which the Mk6 02Q is just an evolution of).