Lawmakers plan to fight a judge’s decision regarding a controversial state question.