But there is no shortage of new graduates and juniors with too little experience. What if the company already stopped hiring juniors because they are too many and there are not enough senior to train them? We have no job to offer at that level, it's not about age.
If you don't have junior level openings, don't offer the job, clearly.
If they're only worth introductory pay and responsibilities 12 months in, let them go take a pay raise elsewhere.
The attitude that pay only goes up incrementally year to year is fairly infounded. The curve should be steeper six months to three years in, depending on you industry and stack.
Organizations should also optimize their tech for onboarding efficiency. I rarely see that enter the discussion other than broadly: "It's easier to find JS developers."
Make the offer. If they turn it down, let them know they can change their minds later.
I always tell engineers looking for jobs that saying "no" is the employer's job. It goes the other way too. Offer the engineer the associate engineer job (or whatever the title is). Let them counteroffer or decide it's a bad fit.