So showing a correlation between environment and intelligence is clear proof that environment plays a role, but the same kind of correlation with ancestry tells us nothing? Even when economic [1] and environmental factors [2] are corrected for (to the best of our ability), and the differences persist?
No matter what the data is, you can always construct some convoluted theory by which ancestry doesn't play a role, just like you can keep adding spheres to make a geocentric solar system work.