It looks like the measuring method has been adapted.
From an 2018 article:
„WLTP will soon replace the disreputable NEDC measurement cycle, which has been in force since 1992 and no longer has much to do with reality on the roads. With the help of WLTP, the factory fuel consumption data will now be brought closer to reality.“
https://en.m.wikipedia.org/wiki/Worldwide_Harmonised_Light_Vehicles_Test_Procedurehttps://en.m.wikipedia.org/wiki/New_European_Driving_CycleWhether WLTP is in any case more realistic or calculates a higher consumption than the true consumption is also not entirely undisputed. But the fact is that according to the NEDC calculation many cars were rated too economical.