The decision upheld a district court ruling that found four laws passed by the 2023 Legislature were unconstitutional.