After receiving some advice from other forum members this is how I did it.
First of all remove the body - as warned all these plastic pipes have to be carefully disconnected to allow the body to lift off. You can just see how little space there is above the cylinders to fit a decoder.

With the body off the size of hole for decoder is even more apparent. There ain’t much room in there.

I did try a direct fit decoder but found that it was 0.5mm too wide so initially I soldered a much smaller decoder to a spare plug. It worked well on the bench but when refitted, the plug was squeezed by the boiler - intermittent contact of the pins was the result.

In the end I ditched the plug and soldered the wires directly to the DCC socket. I was able to push out the firebox door from the inside which revealed a space just large enough for the decoder to fit behind the door. Refitted everything apart from the door for testing.

Once everything was proved to be working ok the firebox door went back on, then added a crew and some coal.
