Major law firms, for example, where the expected level of billable hours might eek in below an average of 48 hours, but given the amount of non-billable time, it's basically impossible to meet expectations and get promotions if you don't opt out, and you'll eventually find yourself sidetracked so thoroughly there's little reason to stay.
My ex works in one of those places - one of the magic circle law firms -, and she keeps fantasising about opting back in once she's set aside enough money that she can risk having legal career go down in flames.
I live in the UK too, and work in IT, and have never seen a contract that even mentions the working hour directive at all. If I did come across one, I'd probably laugh in their faces and leave, as it'd indicate bad things about the working environment to me.
At the moment I work strictly 9-5 due to childcare commitments (though I do occasionally have to handle emergencies from home). As in, I leave between 5pm and 5.04pm or so, every day.
That would probably fall foul of the regulations.
Worth noting too that the average of 48 hours a week is calculated over 17 weeks so under even under a WTD compliant agreement you could have someone work a month of 60 hour weeks so long as you reverted to 40 hour weeks for a while after to bring the average back down.
I live in the UK and work in IT and have never had a contract that didn't automatically opt me out of it, however my wife is a doctor and they're all covered by it so work a maximum of 48 hours.
Worth noting that it's averaged over time rather than a set maximum for an individual week.
Also worth noting that individual countries can have stricter policies. I believe France has a lower maximum.