EU membership , a top foreign policy goal , came in May 2004 .