I get where your coming from as I've got the same issue but with my engine. Been a nightmare.
As long as it's the same gearbox type so not based off code if that makes sense (like the same engine has different engine codes) it will physically fit. But it's the coding and the module that might be the problem you choose a different gearbox code.
Plus let's not forget gear rations could be slightly different.
I can appreciate it's 3x the price, but if you fit a gearbox that's a different code and then the gearbox module needs recoding or replacing, it it doesn't work then it's just wasted money if you see what I mean.