But City's one-man advantage told in the end as Ireland latched onto Robinho's through-ball to slip it past the on-rushing Given, leaving Newcastle second from bottom.
However, Real have reacted angrily to Robinho's comments and attacked Chelsea's public pursuit of the player.
Gomes survived another scare after 64 minutes when he failed to hold Robinho's shot but recovered as the Brazilian tried to force home the rebound.
Goalkeeper Heurelho Gomes saved from Zlatan Ibrahimovic and Pato, while William Gallas kept Milan at bay with a priceless goal-line clearance from Robinho's deflected shot.
Zaza did even better to stop Robinho's first-time shot after good work by Stephen Ireland, while Wright-Phillips was horribly off-target following another sublime Elano through-ball.
The Dutch came from behind to beat 10-man Brazil 2-1 as a Felipe Melo own goal cancelled out Robinho's opener, before Sneijder headed in the winner.
Caicedo had already fired narrowly over when he broke the deadlock, picking up Robinho's pass on the edge of the area and brushing off Jackobsen's challenge before slotting past Karim Zaza.
The keeper's ill-judged dash from goal allowed Pato to round him, and as he struggled to regain his ground Gomes was relieved to see Gallas clear Robinho's deflected shot off the line.
Brazil doubled their lead when Fabiano dinked over the onrushing Buffon from close range and just before the break Dossena turned Robinho's low cross from the left into his own net for 3-0.
Robinho's agent Wagner Ribeiro has accused Madrid of a "failure to value him as he deserves" and that he was unhappy at being included by Madrid as a potential makeweight in any Ronaldo deal.
The speed at which City launched their attacks was still causing Aalborg problems, however, and Zaza had to deny Richards from a tight angle after Robinho's precise pass found the full-back rampaging down the right.
At the time Real were said to have wanted to sell Robinho in order to help fund a bid for Manchester United's Cristiano Ronaldo, which reportedly upset Robinho.
Controversy exploded soon after, as Ireland nodded down for Wright-Phillips to instantly knock a beautifully weighted through-ball into the path of Robinho beyond Newcastle's back-line.
Hughes surprisingly gave Robinho the skipper's armband in the absence of suspended Richard Dunne - and he might have scored in the opening minutes with a free-kick but his effort was both weak and wide.
Fabiano caught the eye at the 2010 World Cup finals in South Africa, thriving alongside Robinho in Brazil's attack and finding the net three times before his country were eventually eliminated by the Netherlands in the quarter-finals.
Real are thought to be waiting to conclude a deal for Villareal's Spanish international Santi Carzola before releasing Robinho for transfer.
But referee Styles pointed to the spot and sent Beye off, leaving Newcastle's players and crowd seething with rage before Robinho wrong-footed Shay Given to convert the penalty with aplomb.
His agent Wagner Ribeiro told BBC Radio 5 Live the deal could be completed in the next two days which may mean Robinho would be available for Chelsea's match against London rivals Tottenham on Sunday.
Goals from Felipe Melo, Robinho and Maicon secured the three points for Dunga's side -- who will definitely reach the semifinals should they draw with Italy in their final Group B encounter.
The goal composed Dunga's previously erratic side and they doubled the lead with 18 minutes left when Robinho slid a fabulous pass in for Elano to slot home from inside the area.
"She has already spoken to Robinho and we have people in Sao Paulo picking her up, " the player's agent, Wagner Ribeiro, told Reuters news agency.
应用推荐