Seems like the Scottish Parliament is getting a bit too big for its boots and now intends to legislate on the licensing of air-guns, something that falls within the remit of the UK government, not the Scottish Parliament.
There is a process in place called a Sewell Motion where the UK government legislates on behalf of Scotland on matters the Scottish government has no authority over. However, with this proposal the Scots have said that they will go it alone if the UK government doesn't support it. The UK government, of course, immediately caved in to the Scottish demands and the Home Office have given their approval to the Scottish Parliament making a law that they have no authority to make.