In this case, "drawing the line" is rather simple: VW specifically added code to detect emissions testing, and alter performance of the engine during such tests.

That's way across the line.

Designing an engine that satisfies specific emissions tests is one thing, but having one detect such tests and change behaviour during them is another.