News of the deal comes amid a parliamentary debate about whether refugees who try to come to Australia by boat should be permanently banned from Australia, which the Turnbull government has said is a necessary precursor to a long-term resettlement deal with a third country.