Hi Phil,
The E46 never came with the N52 engine. The E90 series did, the 323i had the N52B25 engine and the 325i had the same until 07 where it changed to the 3.0 N52B30 I believe. I'm not sure if the downpipes are the same as the E85 2.5si however. Worth checking realoem.com to see what the differences are with each cars OEM system.
Cheers