Can you get emancipated if you have a child?

any girl automatically becomes emancipated when pregnant. it is a little known law. hidden to try to stop girls getting pregnant just to become emancipated