That advice would have to be tested in court, the Crown solicitors office isn't fit for purpose, it has been politicised by the influence of Irish Nationalism.Yes, its quite clear you are wrong.
The Crown Solicitor's Office in Belfast advised the government that a no-deal Brexit would breach the Good Friday Agreement