Court tells Sky to reduce ITV stake