When people say things like "race is a social construct", they mean the fact that e.g. Americans will consistently and reliably identify people with (for an example) 60% european ancestry as "black" based on things like hair nap, skin tone, clothing, language use, and behavior. Yes, these studies have been done. So if you are concerned about, say, the treatment of "black" americans by, say, the police, the field of genetics has absolutely nothing to offer to help you. Many of those people are genetically "white", as it were.
EU Council Directive 2000/43/EC of 29 June 2000 implementing the principle of equal treatment between persons irrespective of racial or ethnic origin
http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:320...
The European Union rejects theories which attempt to determine the existence of separate human races. The use of the term "racial origin" in this Directive does not imply an acceptance of such theories.
The law you cite argues against defining "race" as an actual group of real people (which is wrong, for all sorts of reasons that I assume you don't want to argue here) and not just a statistical model of gene variants (which has support and is broadly uncontroversial even among commies like me).
I think perhaps they don't want to say "All these people are X, all these Y". They even have to say "just because we say there are no races, doesn't mean there is no such things as racism".
It would deny science to say anything but "Phenotype and some behaviours are genetically inherited, and breeders choose based on those, therefore people geographically separated are different."
Since a lot of people on the right seem to misunderstand this: the use of the phrase "social construct" is not a synonym "is entirely imaginary."
A good example is fiat currency. The US dollar is a social construct. It's an abstraction that exists because of another abstraction (the US government) that says it exists, and society's willingness to accept the US government saying that the US dollar exists. If we all drop dead from a pandemic tomorrow, the US dollar will cease to exist. If aliens show up on our abandoned world and start looking for US dollars, they won't find any. They'll find pieces of paper, some of which used to represent a small fraction of all the US dollars that used to exist; they'll also find plenty of pieces of paper that didn't represent valid US dollars at the time of the pandemic, that were counterfeit dollars, etc. But none of this means that the US dollar doesn't exist today, or that there aren't reasons why society does accept the US government saying "This piece of paper has meaning, this similar-looking piece of paper doesn't".
Race is a social construct based in actual biological reality, because actual biological reality is correlated with phenotypes and therefore with how society perceives you, and with origin and therefore with what social history you have.