The Scottish Government has hit out at the "lack of prior consultation" from UK ministers before fast-track legislation to ensure police and security services can access mobile and internet data was announced.
Holyrood Justice Secretary Kenny MacAskill said he had been "disappointed" by the development, as control over much of justice legislation is devolved to Scotland.
He spoke out after Home Secretary Theresa May warned MPs innocent lives would be lost if Westminster did not respond swiftly to a European Court of Justice ruling which raised the prospect that communications companies could start deleting crucial material used to tackle terrorists and serious criminals.
Prime Minister David Cameron and his deputy Nick Clegg announced the Data Retention and Investigation Powers Bill at a joint Downing Street press conference today, stressing the legislation would maintain the authorities' existing powers rather than add to them.
The Government was forced to act after a ruling in April that a European Union data retention directive, implemented by Labour in 2009, was invalid because it interferes with the fundamental right to respect for private life.
Police and security services raised fears that without this legal underpinning, companies would start deleting data that is crucial for investigations into a range of serious crime including terrorism, child pornography and drug trafficking.
The Bill will mean firms can retain data for 12 months.
Mr Cameron warned: ''Unless we act now companies will no longer retain the data about who contacted who, where and when and we will no longer be able to use this information to bring criminals to justice and keep our country safe.
''This is at the heart of our entire criminal justice system."
The full impact of the legislation on Scotland has not yet been established, with Mr MacAskill saying ministers north of the border are "disappointed at the lack of prior consultation and discussion from UK Government on today's announcement given how much this legislation potentially impinges on areas of Scots law that are clearly devolved and under the jurisdiction of the Scottish Government or our law enforcement agencies, including the Crown Office and Procurator Fiscal Service".
He insisted: "While the retention of communications data is currently a reserved matter, the Scottish Government takes the safety and security of our communities extremely seriously.
"In an independent Scotland, this Government will set out clear arrangements for investigatory powers, updating existing legislation where necessary. This will ensure that law enforcement agencies have the powers that they need to do their job and keep Scotland safe, while also clarifying the limit of those powers and the extent of the controls over them."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article