	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).