It should be noted that the wall had not only a defensive role, but also played the role of the customs barrier between town and country. This situation continued until the reform of the local tax legislation in 1810, after which the fortress finally become only a historic monument.