I think the more likely scenario is that kids who eat a lot of junk food end up dumber because they have the genes from their parents, who are dumb enough to feed their kids a lot of junk food.
But I'm sure this study will be cited by those who are working to restrict the food (or marketing thereof) itself.