For those who are interested, here's a link to the actual EU ruling about reselling software you have purchased.
http://curia.europa.eu/jcms/upload/d...cp120094en.pdf
I realise ebooks are not software, but when you buy software, you're buying the right to use it as well, so it's not a huge step away how ebook licensing works.