Original sentence: Devolution does not alter UK Parliamentary sovereignty, which means the UK Parliament can pass and repeal legislation for all parts of the United Kingdom, including in relation to devolved matters
Edited sentence: Legislation passed following the EU membership referendum, including the United Kingdom Internal Market Act 2020, has undermined and restricted the authority of the devolved legislatures in both Scotland and Wales.The United Kingdom Internal Market Act 2020 restricted and undermined the authority of the Scottish Parliament.The devolved competence of the Welsh Government, as the Scottish Government, is restricted and undermined by the United Kingdom Internal Market Act 2020.The legislation will make it difficult for the Scottish government to make different economic or social choices from those made in Westminster