The baby trafficking ring illegally bought infants and sold them for adoption in Indonesia and Singapore, a court has found.