The South Korean Supreme Court has made a landmark ruling to allow Chinese refugees to stay in South Korea.