Then again, there’s a difference between something being illegal and it being against your employment contract. You’re not going to go to jail for having a secret second job, but you might get fired. But at least you’d have that second job…
That said, some contracting on the side is probably fine, as long as it's not at a competitor.
It's a clause that originally meant that you couldn't have a 2nd night job, because you would be exhausted in your primary job, but it also includes having a 2nd job in the same hours.
However, I'm not in tech, and prior to COVID, it physically wouldn't be possible to work multiple jobs remotely. So perhaps this is an artifact of that time.
Some of the other comments suggested there may be actual laws against it, I'll have to look into that.
Off-topic, but I discovered that recent legislation made my wage confidentiality clause illegal.
In France for instance, it is legal to have two (or more) jobs but they cannot be with competitors, you have a limit of hours you can work (which means that if your contract states 40 hours work then you cannot have another one), and you cannot have a clause in your contract which you usually do have (in the companies I know at least - tech oriented).
Source? As long as it's not explicitly stated, and in my experience, it never is, then there should be no issue with this.