The federal government is being transformed into a cross-agency detention and deportation operation.