Oberpirnitsch was formerly part of the German Empire. In the German Empire, the place was called Oberpirnitsch.
The place is now called Zgornje Pirniče and belongs to Slovenia.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Ober-Pirnitsch | Austro-Hungary | Laibach/Ljubljana | before the Treaty of Saint-Germain |
| Gorenje Pirniče | Austro-Hungary | Laibach/Ljubljana | before the Treaty of Saint-Germain |
| Zgornje Pirniče | Yugoslavia | Ljubljana | after the Treaty of Saint-Germain |
| Oberpirnitsch | German Empire | Krainburg | 1941 |
| Zgornje Pirniče | Yugoslavia | Ljubljana | 1945 |
| Zgornje Pirniče (Lj. Bež.-Zg. Pirn.) | Yugoslavia | Socialistična rep. Slovenija | 1992 |
| Zgornje Pirniče | Slovenia | Slowenien | 1991 |