The European Court of Justice has upheld a European Commission ruling that funding given by the French government for the adaptation of vineyards in Charentes constituted illegal state aid.