That means “works, see?” or “works after all” or “there you go!”
Let me give you an example: Two men who police believe planned an attack in the city of Göttingen have failed in their bid to avoid deportation. The Algerian and Nigerian will be repatriated to Africa despite both being born in Germany.
So these two clowns, both born and raised here (not having German citizenship, however – a fine distinction) get sent “back” to Nigeria and Algeria to live happily ever after there, never able to return to Germany again. Couldn’t have happened to a nicer couple of fellows, I say.
Na geht doch!
“They will face the full force of the law regardless of whether they were born here or not.”