Cuba says it has resumed diplomatic contact with eight European Union countries that have stopped inviting dissidents to official embassy events .