Fergus Ewing said the money had been wrongfully withdrawn