Spain’s coal mining companies may have to pay back up to €2 billion in government subsidies, after environmental groups alerted the European Commission that they could be using the money to support their ongoing activities, rather than to close down.