I wonder if it's actually illegal. They did pass the test. it's not like they bribed the operator to falsify the results or something. It really comes down to the letter of the law.
It is typical for cars to get peak mileage at the speeds EPA uses for MPG testing; is that illegal?