From what the Wikipedia page of Overtime says about the EU (https://en.wikipedia.org/wiki/Overtime#European_Union) it seems that the laws are very concerned with working hours, but have nothing to say about overtime being required to be paid or not.
It is in Denmark, my contract also states that I work 40 hours a week with uncompensated overtime.
The only rules creating a cap on my working hours are the EU's, with 48 hours per week on average in a 4 month period.