Same displacement = engine number swap, no pits.
Larger displacement = engineer sign off
There are numbers stamped onto the side of the block, EJ20 or EJ25, so whist having a quick glance they wont be able to tell, if they know where to look they will see the engine stamp on the block. Stamp obviously only shows engine code, code = the engines displacement (unless its been de stroked)
Like this
Call either the transport dept or an engineer, get the full facts & pricing to do a conversion & go from there would be your best bet.