Ramaphosa said South Africa could protect its borders while upholding constitutional values and human dignity.