The UK government statement stressed that, unlike the Scottish government, it had obtained formal advice from its law officers and that Scotland would have to negotiate the terms of its EU membership with the UK and all other 26 member states.It said: "This government has confirmed it does hold legal advice on this issue. Based on the overwhelming weight of international precedent, it is the government's view that the remainder of the UK would continue to exercise the UK's existing international rights and obligations and Scotland would form a new state."The most likely scenario is that the rest of the UK would be recognised as the continuing state and an independent Scotland would have to apply to join the EU as a new state, involving negotiation with the rest of the UK and other member states, the outcome of which cannot be predicted."Referring to statements by European commission president, José Manuel Barroso, and his deputy, Viviane Reding, that a newly independent country would be seen as a new applicant, it added: "Recent pronouncements from the commission support that view."