The 23-year-old striker, who has not played an international since April, was asked at the last minute to replace the injured SidneyGovou for the international match.
SidneyGovou then put the game beyond the hosts with a header from a Pjanic corner that glanced off Peter Czvitkovics's arm before nestling in the bottom-right corner.
SidneyGovou thumped a couple of early volleys past the upright for the hosts while Gonzalo Higuain just failed to control in the box for Real after an excellent move.