Okay. I don't know European law, but in the U.S. it's explicitly illegal.
Ever notice how the flight attendants on U.S. airlines are mostly in their late 30s to 50s nowadays? The airlines learned a very expensive lesson there.
I doubt it's legal across Europe either. Then again, turning down applicants with foreign-sounding names is illegal also, yet statistically you'd have at least 10:1 chance of getting called for interview with "native" name.