Scotland and Wales can f**k off though, court rules