A judge says the ruling is "the end of a long and unhappy road" for Coleen Rooney and Rebekah Vardy.