Judge says inmate can’t choose execution method