A federal judge is allowing a plaintiff to apply Massachusetts law to his loss-of-consortium claim for several injuries stemming from a car accident that occurred in New Hampshire.