In placing the child in the custody of an individual or a private agency or institution, the court shall, whenever practicable, select a person or an agency or institution governed by persons of the same religious faith as that of the parents of such child, or, in case of a difference in the religious faith of the parents, then of the religious faith of the child, or, if the religious faith of the child is not ascertainable, then of the faith of either of the parents.