The twists and turns of Erdogan’s foreign policy