To quote - "Under EU rules you always have the right to a minimum 2-year guarantee at no cost.
This 2-year guarantee is your minimum right. National rules in your country may give you extra protection: however, any deviation from EU rules must always be in the consumer's best interest."
This is also on Apple's customer support pages when you check if you're still in warranty. It says that local rules apply when you're out of Apple's limited 1 year warranty.