About 18 000 foreign nationals in SA’s prisons