Spanish government up against ECJ over discriminatory law