So, if Spain beats Ireland, and then goes on to tie Croatia 2-2, Italy is OUT no matter what they do in the final game against Ireland.
(and yes, if it does happen that way, the cries of Fix coming from Italy would be loud and probably justified, after all takes one to know one
)
Key EURO regulation changes approved – UEFA.com