In 1982, he obtained his PhD with a dissertation on the principle of non-intervention in international law at the University in Ljubljana and received a full-time job as an assistant professor at the University in Ljubljana's Faculty of Law.