The Spanish government has been ordered to repay EUR54.9m (US$86.3m) in European Union (EU) subsidies after the European Commission concluded it had wasted the money on unauthorised planting of vineyards in 2003 and 2004.