The district court in the area of which the last permanent residence of the sentenced person was registered in the Republic of Slovenia. If the sentenced person did not have a permanent residence in the Republic of Slovenia, jurisdiction shall be determined according to the location of his or her last temporary residence. If the court having jurisdiction cannot be determined according to the preceding paragraph, the District Court of Ljubljana shall have jurisdiction.