Morocco and South Africa have had frosty relations due to opposing views on the Western Sahara conflict.