The EU can't really do anything. The EU is a loose confederation of countries that delegate responsibilities to this united body.
Japan is a single country with a single government that can unilaterally decide what it wants to do.
But single countries in Europe can do something. If they choose to.
But single countries in Europe can do something. If they choose to.