It should be no surprise that undergraduate colleges with relatively high admission selectivity would get lots of students into high ranking law schools. But that does not mean that, for a given student, that such a college would necessarily be better for getting into a high ranking law school than some other college.
This is similar to taking a college’s graduation rates as purely a treatment effect, rather than mostly a selection effect.