An aircraft with the engine removed?
Well, the cockpit should have a had a prominent placard warning the pilot that the engine had been removed... Part 91 requires that for all unserviceable parts don't you know.
Of course, the aircraft MEL may have permitted flight with the engine removed. In this case, the inspector was definitely wrong to ground it.
Happynewyear,
O8