The family court system makes the safety and welfare of children a priority. If a custody case goes to court, the judge must decide the best long-term situation for any children involved.