Royal assent is the final stage in the legislative process for acts of the Scottish parliament.