VW loses EU top court ruling in diesel scandal