Women can and should become judges and politicians. However, in some countries they are not allowed to do so. Its the responsibility of the UN to get countries or governments to enforce gender equality in their countries and create equal opportunities in all the employment market. If women are allowed to study and get educated in these field only then will they be apply for these posts ad get employed so equal educational opportunities are also important.
As far as personal effort is concerned...well we cannot personally get other governenments to change their policies but UN and other global organizations surely can and should take action to make a difference.
This is my point of view. Others are entitled to their own opinions. I just hope there will be a day when we could say that "gender discrimination was a thing of the past".