A court adviser for the European Union (EU) has said that banks should refund victims of phishing attacks, in light of a current case playing out in Poland.