Sentence:  States were free to enact , within broad though ( perhaps ) determinate limits , their own rules as to the application of foreign law by their <WSD>courts</WSD> , to vary the law merchant , and to enact legislation with regard to many claims arising on the high seas . 
Meaning of the word marked with <WSD> tags:  an assembly (including one or more judges) to conduct judicial business