The European Union’s executive arm called on Spain, Greece and Sweden on Thursday to change tax laws the bloc finds problematic, while also referring a Spanish tax issue to the European Court of Justice.