Khalil will be released on bail while his case challenging his deportation orders plays out in the courts.