It depends on the immigration officer approving it. Another thing is before you get your baby's birth certificate, you have to deposit a Passport (original) at the CID office for guarantee. If the baby is denied of being given a visa, you need to present an airline ticket of the mother and baby bound to country of origin in order for you to get the passport which was used as guarantee.

Good luck!