http://en.wikipedia.org/wiki/2012%E2%80%9313_UEFA_Europa_League#Qualifying_rounds
The Cup is given the highest priority. As that place is going to the league, I would guess the order of priority moves down one and 5th place gets straight in. Might be wrong though.
That's what I thought