Croatia–Slovenia relations

Croatia–Slovenia relations are foreign relations between Croatia and Slovenia. Croatia has an embassy in Ljubljana and two honorary consulates in Maribor and Koper. Slovenia has an embassy in Zagreb and an honorary consulate in Split. The countries share of common border. Relations between Slovenia and Croatia are generally considered to be friendly, but plagued with a series of unresolved border disputes and other vestiges from the time when both countries were the northernmost part of SFR Yugoslavia.
Slovenia has given full support to Croatia's membership in the European Union and NATO.
History.
Before 1991, both countries were part of Yugoslavia. On June 26, 1991, a mutual recognition agreement was signed by both countries. Diplomatic relations between both countries were established on February 6, 1992.
In a series of high-level meetings since the latter half of 1998, Slovenia and Croatia have been engaged in settling bilateral differences, a process which accelerated after the death of Croatian President Franjo Tuđman in 1999.
Since May 2004, Slovenia has been a member of the European Union, whereas Croatia was still negotiating for the admission. This strengthened Slovenian negotiation position in the disputes between the two states. Slovenia has supported the accession of Croatia to the European Union, but has demanded that the opened bilateral questions be resolved before Croatia's accession to the Union.
The problem escalated in 2008 with Slovenia's blockade of Croatia's EU accession that lasted into 2009 before the two countries agreed to an EU-sponsored arbitration. On 3 March 2013, Croatia and Slovenia reach an agreement on Ljubljana Bank. A month after that, the Parliament of Slovenia unanimously ratified the Croatian accession treaty.
Issues of contention.
Border disputes.
The border disputes between the two states concern:
Slovenia claims that the maritime border in Piran Bay does not go through the middle of the bay, while Croatia claims it does. This is causing problems for fishermen due to there being an undefined area where the naval police of each country may patrol. Related to the border in Piran Bay is Slovenian access to international waters in the form of a corridor which would require Croatia to cede its exclusive rights over at least some of its territorial waters to the west of Umag.
The disputed Dragonja area is located near the Sečovlje-Plovanija official border crossing point, set up by an interim agreement of the two countries in the 1990s.
A referendum regarding the ratification of the agreement on the arbitration between Slovenia and Croatia regarding the Gulf of Piran border dispute was held in Slovenia in June 2010. Croatia and Slovenia agreed to let outside arbitrators come up with a plan to divide the Gulf in 2009 in the hopes of finding a resolution to the dispute and easing Croatia's entry to the Union. Though the parliaments in both Croatia and Slovenia ratified the agreement, the Slovene parliament additionally voted to require a public referendum on the deal. The agreement was supported by 51.54% of voters and opposed by 48.46% of voters. In October 2010, the Slovenian law on the ratification of the agreement was also unanimously recognized by the Slovenian Constitutional Court as being in accordance with the Constitution of Slovenia. The diplomatic notes about the agreement were exchanged between the Government of Slovenia and Government of Croatia on November 25, 2010. The agreement came into force on November 29, 2010.
Croatian exclusive economic zone in the Adriatic Sea.
A disputed issue with Croatia was Slovenian and Italian opposition to the proclamation of the Croatian Ecological and Fisheries Protection Zone (Exclusive Economic Zone) in the Adriatic Sea.
Slovenia is disputing this, requiring direct access to the international waters. This policy has been in place since late 2004 but excludes the EU countries (namely, Slovenia and Italy).
In the negotiations with the European Union, it was decided that Croatia can proclaim an ecological protection zone for third countries, but not also for the countries of the European Union. 
About 40% of all the catchment of Slovenian fishermen originates from the zone.
Ljubljana Bank.
Another open issue is the financial compensation for the Croatian depositors who lost their savings in the liquidation of the Slovenian-based Yugoslav bank Ljubljana Bank.
During SFRY, the said bank had a branch in Zagreb. In December 1991, Croatian authorities allowed the transfer of two thirds of the foreign-currency debt of the Zagreb branch of Ljubljana Bank to a number of Croatian banks. However, some 132,000 clients kept their savings in Ljubljana bank. By 1994, the Slovenian Parliament formed Nova Ljubljanska Banka with the old bank's assets but none of its debts.
In 1995, the Croatian bank Privredna banka Zagreb filed a lawsuit against Ljubljana Bank, after the Croatian Ministry of Finance authorized it to do so. In 1997 the Slovenian parliament halted all lawsuits against Ljubljana Bank by foreign citizens. In 2001, the Ministry of Finance extended the lawsuit authorization to Zagrebačka banka.
The two countries signed the 2001 Agreement on Succession Issues, dealing with the succession negotiations after the break-up of Yugoslavia. In 2002, succession negotiations were hosted by the Bank of International Settlements in Basel, but Croatia and Bosnia and Herzegovina rejected the proposed model in which they would have to reimburse the depositors. The negotiations stalled after that.
In 2010, after the Kosor–Pahor agreement, the Croatian side had reportedly agreed to the Slovenian position, which was a precondition for Croatia to close the negotiations with the EU regarding Chapter 4 of the Acquis on the free movement of capital.
The Slovenian position has been that the compensation is a succession issue. Slovenia also made it their condition for the acceptance of Croatia to the European Union, most recently in July and September 2012. In April 2012 Croatia passed a conclusion according to which this is only a dispute between the bank and its Croatian savers and should be resolved in courts. The European Commission considers this to be a bilateral issue.
On 6 November 2012, the European Court of Human Rights delivered a first-degree verdict in the case of Ališić and Others v. Bosnia and Herzegovina, Croatia, Serbia, Slovenia and the “Former Yugoslav Republic of Macedonia”, finding Slovenia in violation of the European Convention on Human Rights and ordering it to compensate "the applicants and all others in their position" (individual Ljubljana Bank savers). In Croatia, some interpreted this as a precedent for the diplomatic issue, but Slovenian Foreign Minister Erjavec released a statement saying this is a separate issue from the diplomatic issue, rather that the latter was about "transferred debt".
On February 7, 2013, Croatian and Slovenian Foreign Ministers said they had solved the problem of the former Ljubljana Bank, which was threatening to impede Croatia's EU accession in July.
Krško Nuclear Power Plant.
The two countries' national power companies jointly manage the Krško Nuclear Power Plant. They have had various issues, particularly between 1997 and 2001.