The medrash quoted by Rashi - what is it actually telling us?

The nations of the world do not accept the Torah and will surely reject our use of it as proof for our rights to the Eretz Yisroel. What is the medrash quoted by Rashi actually telling us?