Morocco and South Africa: foreign policy is not cast in stone