click to enlarge A federal judge on Thursday sparred with attorneys about a controversial state law that restricts the way…