The European Court of Justice has ruled that member states should consider "less restrictive tax measures" before deciding on minimum unit pricing (MUP) to combat alcohol misuse.