Croatia hopes to join the European Union in 2009 .