South Africa's president has warned anti-immigration groups against trying to impose the so-called June 30th deadline for illegal migrants to leave the country.