The judge on Sunday granted Alabama's request to dismiss the lawsuit brought by Kenneth Eugene Smith, agreeing that Smith waited too long to file the challenge. But the judge also warned Alabama's prison commissioner to strictly follow established protocol when officials attempt to put Smith to death next month.