OK, so if I am a condemned person sitting on an Indian death row, who can order my actual execution?
As far as public opinion goes, yes, it matters, but it may not be decisive. Quite a few European countries would probably re-introduce the death penalty if the question was left entirely to the population (via a referendum). I am sort-of glad that they don't go down this road; not even Ukraine sentences Russian war criminals to death.