Court rules on emissions compliance in automotive sector