The Local Government Scotland Act 1973 gave councils powers to pass bye-laws about drinking outside.