DNA fingerprinting can sort out this problem. [1]
DNA from the two newborns and parents are isolated separately, digested and separated. Then, separated DNA fragments are transfered to synthetic membranes, hybridisation is done using labelled VNTR probes, and visualized by autoradiography. By comparing the banding pattern of DNA with the newborns and parents, the problem can be sorted out. [2]