It is not possible to differentiate someone who stretched themselves and got a lower grade from someone that got a lower grade for more mundane reasons.
I agree. Ideally you might like to be able to evaluate the course syllabus, the grade distribution, the quality of teaching, and the student's background and workload. And perhaps other factors as well. In a reasonable amount of time.