The Australian government had previously denied a refugee swap deal was agreed to with former President Barack Obama.