Usually it is best if parents can agree on decisions about raising children after a legal separation or divorce. The court usually accepts the parents’ mutual decision, but the court’s decision about custody must be made in the best interests of the child. After review of the agreement’s terms, the duty imposed on the court by law may require that the court not accept the parents’ agreement.