The Court of Appeal has thrown out the Welsh Government's legal challenge to the UK's cornerstone legislation to replace EU standards within the UK.
The Welsh Government said it planned to appeal to the Supreme Court against the decision by three senior judges sitting on the Court of Appeal.
Ministers in Cardiff Bay had argued that the UK's new Internal Market Act was incompatible with some of their rights to make laws on issues it covered. However the judges ruled that this could only be tested in connection with a specific law the Welsh Governement wanted to make.