IMO @Northern_Piper’s point was that it is not a matter of trial court discretion. Which your phraseology appeared to suggest it was. This is not a case of “hanging judges”.
Instead it’s a case of “hanging legislatures”. Which, yes, is part and parcel of the religious retributionist moralist frontier mindset so romanticized by some factions of the US public.