@electronwarier It's an old trick. The Philistines in the Bible banned swords and spears in Israel, forcing them to go to Philistine blacksmiths to get farming implements sharpened. (https://www.biblegateway.com/passage/?search=1+Samuel+13%3A19%E2%80%9322&version=ESV)
On July 24, 1722, "The wearing of broadswords prohibited in Edinburgh." (https://gutenberg.org/ebooks/44028) This happened between the 2nd and 3rd Jacobite risings. (https://en.wikipedia.org/wiki/List_of_wars_in_Great_Britain)