Definitely true for the legal situation in Germany. An early rejection can be enough for a compensation payment of three gross salaries.
It's actually a common practice for some to apply on jobs with completely under-qualified resumes and sue the companies after getting an early rejection for discrimination.