The General Court ruled that the European Commission “erred” in approving the French government’s financial aid.