Wouldn't it be similar to the situation in Euro 2004 where in a mini table the results against Bulgaria were all cancelled? In this case if Spain beat Ireland tonight and get a 2-2 draw against Croatia Italy will be out no matter how many goals they score against Ireland.
