France loses court battle with EU over diesel pollution