The European Union , which opposes the death penalty in all cases , has called on Iran not to carry out the death sentences .