The VW/Audi 2.0t EA888 engine is capable of producing 100 more hp with a software update. These turbo/diesel/supercharged engines have a million parameters that they can modify to change driveability. I cant believe that they would do something like that to pass emissions testing though, that seems incredibly foolish. I would imagine that with diesel engines, economy and certain emissions are at odds with each other.
They are, in particular the higher the in cylinder combustion temperature the higher the efficiency, and the higher the NOx production. This caused heavy diesels to get less efficient for a few years when NOx stringencies were tightened. Then they were tightened far enough to require catalytic reduction, and manufactures went back to high efficiency high NOx combustion and removed the NOx downstream.