Welcome to Just Commodores, a site specifically designed for all people who share the same passion as yourself.
The 2 front oxygen sensors for the LEO engine changed somewhere around the middle of 2007. So your old engine would have used the old type and your new engine the different type.
They have different shaped plugs as you probably know.
So a question, if the 2006 and 2008 engines are actually the same, but there is a problem with the O2 sensors wiring (4 wire/ 5 or 6 wire sensors) being different, and a different loom is needed, wouldn't this suggest the exhaust, or part of it (specifically including the O2's) was also changed along with engine, so having mismatched O2's to the cars original wiring loom and engine management? If the engine only was changed with another engine of the same type (given the engine is a dumb block of metal) why would there be an issue with the engine management and the O2's if they remained as original in the car?
Bosch Part# 0258007200.
Is this number means anything to you? If yes:
This part numbered WIDEBAND more efficient O2's are for WL V6 Caprice.
Is your car WL Caprice?
If it is, fitted LEO engine is NOT suitable for it.
Go back to the original loom & o2 sensors, for your original engine.