Court of Session Edinburgh came to a conclusion about the future of Scotland's census