Ankara previously refused to recognize the Greek government of Cyprus , which joined the EU last May .