because of the staple right of vienna, which was granted this privilege after 1312, and its domestic reaction, when a new commercial route from buda to prague via pressburg and brno was set up to enable merchants travelling between hungary and the holy roman empire to bypass vienna, the town of győr was separated from distance trade routes, while pressburg and sopron were granted staple right. it had a negative impact on the bishopric's income too. in addition to his "servitium commune", the sustenance of papal legate gentile's court in the first years also increased kőszegi's expenditures, who, compared to other bishops, contributed significantly to this because of his temporary, unstable political status. sometimes before 1326, most probably between 1311 and 1314, kőszegi built the castle of fertőrákos (the former episcopal mansion in its place was destroyed by local burghers of sopron in 1311). kőszegi had several conflicts and lawsuits with the town of sopron in the upcoming years; he contested the determined borders between págya and fertőrákos, while he was also charged that unlawfully occupied meggyes (present-day mörbisch am see in austria) from the burghers. sometimes before 1321, he seized the wine tithe of nyúl, which belonged to the property of the bakonybél abbey. however he returned it upon the request of archbishop thomas of esztergom. in order to concentrate the bishopric's lands in győr and sopron counties, he exchanged several lands with the apponyi branch of the "gens" (clan) péc. he also bought fishponds and lands in gyirmót (today a borough in győr).