Guéla Doué scored a goal and set up the winning strike as Ivory Coast surprised France while Iraq held Spain to a draw in pre-World Cup friendlies.