The Scottish Government’s plan for a local income tax hit another hurdle as expert opinion deems it against EU, UK law