South African police detained more than 180 foreign nationals for storming the UN refugee agency in Pretoria, where they had been staging a sit-in protest,…