The Hate Crime and Public Order (Scotland) Act 2021 is an Act of the Scottish Parliament. From Wikipedia
The move follows a UK Supreme Court ruling on biological sex and shifts focus from standalone legislation to broader hate crime protections.