Unfornately, it isn't that simple here in Brazil. It's not easy to find a VG30E engine, and they cost a lot of money compared to USA. And we cannot import used engines from Japan, as well, customs don't allow it.
When importing parts, taxes are applied to cost + freight, and local (state) taxes also, and at the end the price doubles. But sometime it is still good. An old WD21, say 1994 like mine, worth like US$ 10k.
The engine I'm rebuildind isn't the one from my Pathfinder, I just bought it. This one was running but I decided to rebuild it as everything was out yet. The original engine, which broke the crankshaft, was rebuilding at the end of last year, but it was kind of stolen (in fact, the mechanic who was rebuilding it made a mistake and now it is running in another WD21, so I began a lawsuit against the mechanic, the shop who was boring the block, the owner of the other WD21, and so on. A lot of annoyance.