Juan Orlando Hernandez says the ruling ends a chapter of political persecution, while anti-corruption groups warn it could further erode trust in the courts.