Plans to set minimum prices on drinks, restrict promotions and charge companies a "social responsibility" fee will face legal challenges if the Scottish Government attempts to implement them.