The court has weighed in on a custody battle in which two dads are fighting over access rights to the children they raised together.