Wernstein am Inn is a municipality in the district of Scharding in the Austrian state of Upper Austria .
Wernstein am Inn is a municipality in the district of Scharding in the Austrian federal state of Upper Austria .

Do these sentences mean the same thing?
yes