D9 have had less drag (Cd0 lower by 10% vs. the draggy 190A8), a bit more power above 5 km, and a better ram air intake. All of this combined made the D9 faster, not just on higher altitudes.
The D9 was also faster than 190A9 that have had more power, even at higher altitudes.