By far the easiest way to do it is drop the Ej20 foz box straight in. If you've got the EA82 still, you can split an EA82 5 speed box and fit the EJ AWD box in it so you can bolt straight up to the EA82, but you will need custom tail shaft, gear linkages and gearbox crossmember.
Speedo could be out, I'm not sure about that though with 27 inch tyres.
The bonus of this is that you'll get AWD and you can swap the diff output stubs to the 23 spline units while you've got the boxes apart so you keep your stock front drive shafts
Cheers
Bennie