EU court rules sanctions to be lifted on Gaddafi cousin