The Scottish Government has reiterated its opposition to giving prisoners the vote, including in the 2014 independence referendum.
It comes as the UK faces a deadline later this month to tell the European Court of Human Rights how it will respond to its ruling a blanket ban is incompatible with European law.
Yesterday David Cameron insisted he would not allow prisoners to vote.
But his comments appeared to put him on a collision course with his top law officer.
The Attorney General, Dominic Grieve, said the UK had an "international legal obligation" to comply with the ruling.
The Prime Minister told MPs: "No-one should be in any doubt. Prisoners are not getting the vote under this Government."
A Scottish Government spokesman also reiterated its opposition, saying ministers did "not agree that convicted prisoners should be able to vote while they are in prison".
Holyrood will set the franchise for the referendum following the historic agreement with the UK Government last week.
Advocates of the ban argue prisoners forgo certain rights, including the ability to vote.
But critics say that even those in prison should be allowed to participate in democracy. The judgment found against the current system because it affects all prisoners, no matter what their crime or their length of sentence.
Following the ruling, MPs voted overwhelmingly to uphold the blanket ban.
Earlier, however, giving evidence to the Commons Justice Select Committee, Mr Grieve warned that Britain was obliged to obey the judgment and could face huge damages claims from prisoners.
"The issue, it seems to me, is whether the United Kingdom wishes to be in breach of its international obligations and what that does reputationally for the United Kingdom," he said.
"Governments can leave the Council of Europe if they choose to do so, but all I'm saying is it is quite clear, and I think accepted by the Government, it is accepted that, in so far as the- judgment is concerned, it imposes an international legal obligation on us."
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