The referendum was an opinion poll, with no legal effect.
The effect comes from what the government does with that poll, and the high court has ruled that the government cannot act without parliament's consent. To be absolutely clear: The referendum had no legal effect beyond being an opinion poll.