The ruling was the culmination of a lawsuit the American Civil Liberties Union of Louisiana filed last year after Gov.