In context, since we know that femaleness is (barring certain rare disorders) caused by the sex chromosome of the sperm that reaches the egg, which is essentially random, we can be fairly sure that it's not caused by school grades or anything that would affect school grades, which does allow us to conclude with a reasonable degree of confidence that femaleness (indirectly, of course) causes higher grades.
How can you ever tell that the correlation isn't a coincidence? (see: pirates are correlated with global warming http://sparrowism.soc.srcf.net/home/pirates.html) that seems a bit hand-wavey.
"Oh, that's not a REAL correlation..." sounds a bit like "Oh, that's not a TRUE Scotsman..."
It's true that you can never be completely sure that any correlation isn't a coincidence, just like you can't be sure that the sun will rise tomorrow. You can, however, be sure beyond a reasonable doubt with enough of a sample size and a strong enough correlation.
Out of curiosity, do you personally believe it's likely (say, >5% chance) that it's a coincidence that girls have better grades than boys?