That's already the case where I live, but some companies use the trick that they advertise a job with high salary, and once you apply they says "sadly this job is no longer available, but we have this similar one we haven't advertised yet", which of course comes with lower salary.