German carmaker Volkswagen (VW) had been cheating its consumers and regulatory bodies in addition to lying to them.