It would seem that selective abortions, and not a government policy per se, are to blame for the skew in sex.
Selective abortions are legal in many, many jurisdictions which do not limit family sizes.
Take, for example, the disappearance of Down Syndrome from Iceland. This triumph of medical science was achieved very easily through early detection and prevention.
These days, you can prevent almost anyone, especially young girls.