Transport Secretary Heidi Alexander told the House of Commons at the start of the year that no new petrol or diesel cars would be sold after 2030.