Earlier quoted context omitted.
It's only illegal if they can prove that you discriminated based on their age. This is why companies never tell a prospective hire why they've declined to hire them, instead they just tell them that it's a poor culture fit. Poor culture fits aren't illegal, so you can feel safe not hiring based on culture. Especially if the part of their culture that doesn't fit is a protected class.
Again, its only an issue for bad companies, with bad employment practices. The rest of us will be unaffected by the restriction
Don't you feel that this attitude is dismissive?