Where in the EU are you? I'm 43, living in Berlin and working as a software engineer. From what I can tell there is not much age bias here. Some German companies I know have an average age beyond 45 in dev teams.
I even interviewed with a FAANG for a Berlin-based engineering position 2 years ago but canceled the process myself. Being over 40 did not seem to be an issue at all.