I had a 2000 xterra and a 98 pathfinder both with the vg33de engine and both had the p0325 code discovered (I don't know how long it had been on) when they both had a distributor fail and I was clearing the codes after replacement. the p0325 and 328 on US spec federal emissions vehicles should not cause you to fail inspection except maybe in some very strict states/counties etc. as it does not trigger the service engine light to come on, it just stores the code. (I verified by looking at both these aforementioned vehicles codes a few weeks later neither had a CEL but both still had p0325 pending and confirmed or whatever the other one that's "permanent" meaning the ecu has thrown the code 3+ drive cycles. but neither had a CEL and in fact the xterra passed inspection 2 weeks later and the print out stated codes present: p0325 vehicle passed and I asked the inspection guy how I could pass with a code he said as long as its not directly emissions related (knock sensor is not) and the cel is not on during inspection the code can be there and it will pass. he even said pending emissions ones would pass as long as all the other criterion was met. I did the mod to the x to fix the issue but it did not do much if anything performance wise still got 14mpg no matter what (whereas my newer 2011 x gets 18-20 which is great for this truck!) and still felt like it needed more power (but I think we can agree that the vg33de engine was a tank and will run forever but for sure needed about 50 extra ponies and about 50 more pound feet of twist per inch to be a serious truck engine, the 4.0 in the newer ones feels excellent and has tons of power low down and in mid range which makes driving more pleasant the older generation. I just ignored that code and kept going on my pathfinder and x and neither one had any issues due to it, no poor performance (relatively, the engine is a slouch anyhow) no worse mpg pathfinder got 14-15 and 16-17 on a down hill coasting with a tailwind but consistently from tank to tank 14-15 and the x stayed around 13-15 most tanks (I think it being taller, roof rack, with same power as the pathfinder and sitting up higher and weighing close to the same if not slightly more then the 98 pathfinder did, all played into that)
FYI I am in Tarrant county texas for anyone referencing emissions or inspection policies and this was between 2008 and 2013 so things may have changed (in my area I don't believe they have for this part anyway) and may also be different in other cities, counties, states etc.
"I am the Warrior" -Disturbed
" If you could just go ahead and do that for me that'd be great"-Bill Lumberg, Office Space