So, as an example, if 90% of your applicants are male and 10% are female, presuming quality is randomly distributed, the default assumption is that the company ends up with 90% male employees and 10% female employees. You might make some adjustments arguing that diversity is better for work environment / productivity / decision-making but that's a post-hoc adjustment.
If that is the case at Google (and I have no way of knowing), then I would argue the burden falls on society for having 90% of applicants be male and 10% of the applicants be female in the first place. That sharp of a gender gap is not the case in Eastern Europe.
The solution is obviously best targeted toward the problem and not the symptom. If you have a fever because of a bacterial pneumonia, antibiotics are much better than Tylenol.