NICOLA Sturgeon has insisted Scotland is now the only nation in the UK which is being treated unfairly after a Brexit deal was agreed with the EU.

The First Minister also ruled out the possibility of SNP MPs voting for Brexit "in any form".

It came as Scottish Secretary Alister Jack insisted the new deal is “great news for Scotland and the whole of the UK”.

Boris Johnson confirmed an agreement has been reached with Brussels yesterday, following days of intense negotiations.

However, the DUP has said it still cannot back the plans, which would see Northern Ireland remain aligned to some EU rules.

READ MORE: Boris Johnson confident he can get deal through parliament as DUP 'lose veto' 

Ms Sturgeon said: “While there remains uncertainty over whether this proposed deal will pass, what is absolutely clear is that it would take Scotland out of the European Union, out of the single market and out of the customs union against the overwhelming democratic will of the people of Scotland.

“Scotland did not vote for Brexit in any form, and SNP MPs will not vote for Brexit in any form – especially when it is clear that Scotland, alone of the nations of the UK, is being treated unfairly.

“We support efforts to ensure peace and stability on the island of Ireland, in line with the Good Friday Agreement, which must be respected.

“At the same time, it cannot be right that Scotland alone is facing an outcome it did not vote for – that is democratically unacceptable and makes a mockery of claims that the UK is in any way a partnership of equals.

“The Brexit envisaged by Boris Johnson is one which sees a much looser relationship with the EU when it comes to issues like food standards, environmental protections and workers’ rights.

“That is not the future that I or my government envisage for Scotland.

“And in the circumstances which now prevail it is clearer than ever that the best future for Scotland is one as an equal, independent European nation.

"That is a choice I am determined to ensure is given to the people of Scotland.”

Mr Jack said the deal would allow the UK to “get Brexit sorted, and leave the EU in two weeks’ time as one United Kingdom”.

He said: “It is a real Brexit which ensures we take back control. For Scottish fishermen, this means taking back control of our fishing waters and freeing them from the hated Common Fisheries Policy. For Scotland’s farmers, we will create a new a system of support to help them prosper outside of the Common Agricultural Policy.

“We will no longer be bound by EU laws, and the Scottish Parliament will receive a raft of new powers as they return to the UK from Brussels. We will be able to strike our own trade deals around the world, opening up huge opportunities for businesses across Scotland."

He called on Scottish MPs from all parties to back the agreement, insisting that if they don't they are voting for no deal.

READ MORE: Boris Johnson says Brexit deal is done 

Scottish Tory leader Jackson Carlaw said: “If the SNP, Labour and the Liberal Democrats fail to support this deal then it will be clear to everyone that they have put their narrow party interests, grievances and ambitions over the best interests of the country and the desire of an overwhelming majority to move on."

But Scottish Liberal Democrat leader Willie Rennie insisted Mr Johnson and his "bad Brexit deal" can be defeated.

Elsewhere, Liz Cameron, chief executive of the Scottish Chambers of Commerce, said the devil is in the detail.

She added: “Frankly, the announcement that a deal has been reached gives a slight feeling of ‘déjà vu’. We have been here before.

"Let’s not forget, this is not the end of the Brexit process, it is the beginning of the end of the first chapter.

"But that is only if the deal can secure parliamentary support. We wait with bated breath for a sensible solution to the Brexit conundrum.”