Virštanj was formerly part of the German Empire. In the German Empire, the place was called Vierstein.
The place is now called Virštanj and belongs to Slovenia.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Wierstein | Austro-Hungary | Rann/Brežice | before the Treaty of Saint-Germain |
| Virštanj | Austro-Hungary | Rann/Brežice | before the Treaty of Saint-Germain |
| Virštanj | Yugoslavia | Šmarje | after the Treaty of Saint-Germain |
| Vierstein | German Empire | Cilli | 1941 |
| Virštanj | Yugoslavia | Celje | 1945 |
| Virštanj | Yugoslavia | Socialistična rep. Slovenija | 1992 |
| Virštanj | Slovenia | Slowenien | 1991 |