The Scotland Act 1998 is an Act of the Parliament of the United Kingdom which legislated for the establishment of the devolved Scottish Parliament with tax varying powers and the Scottish Government. From Wikipedia
The proposed legislation seeks to transfer immigration powers to Holyrood, addressing workforce shortages in key sectors and mitigating Brexit's impact.