Errors of French defense grant Spain the third consecutive win