Iran’s president says policies will shift if UN sanctions return