Until 2009, litigation over the marine border at the level of the Adriatic Sea undermined relations between the two countries. Slovenia, member of the European Union, posed the resolution of the litigation as condition for the entry of Croatia in Europe.