Er, . . .didn't I answer this question 17 minutes before you posted it?
http://www.theanswerbank.co.uk/Travel/Question 328786.html
The EU regulations apply to all flights, irrespective of the carrier, departing from EU airports. They also apply to flights, anywhere in the world, operated by airlines licensed by EU countries.
Flights from London are covered by the first part of the rules but (because Atlas Blue is not licensed by an EU country, but by Morocco) their flights from Marrakech are not covered.
Chris