The decision to build a fence on its border with Turkey was controversial.