So, you have the information and you have the promise from the One Who says He Is The Truth. Your presence with your child has its beginning in the mind of the God that knew you before you existed. It is purely fiction, and blasphemy for a judge to think to truly award custody, or rule over a Divine matter that was already established before the foundations of this world were laid. Your presence and parenting of your child transcends physical space, time, and circumstance and is made in effect through the Spiritual lineage branched out and connected by the Spirit of God. If you maintain your mental and spiritual connection with God, there is an instantaneous portal download of information and instruction that operates imperceptive to human observation. God "lead-parents" through you by the intent of your heart, and angelic agents are dispatched to ensure that every detail of your will, united with God's Will, is carried out to exactness.
Do not fear separation by the courts, because it cannot, and does not effect your parenting. Fear separation from God by your sins and unbelief, that work against your strongest connection, not only to God, but to your child.
Be at peace by the Truth. --Michraél E. James--