Wagnern was formerly part of the German Empire. In the German Empire, the place was called Újezdec.
The place is now called Třešňový Újezdec and belongs to Czech Republic.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Wagnern | Austro-Hungary | Prachatitz | before the Treaty of Saint-Germain |
| Oujezdec | Austro-Hungary | Prachatitz | before the Treaty of Saint-Germain |
| Újezdec | Czechoslovakia | Prachatice | after the Treaty of Saint-Germain |
| Wagnern | German Empire | Pisek | 1939 |
| Újezdec | German Empire | Pisek | 1939 |
| Újezdec | Czechoslovakia | Prachatice | 1945 |
| Třešňový Újezdec | Czechoslovakia | Prachatice | 1992 |
| Třešňový Újezdec | Czech Republic | Prachatice | 1993 |