David A. Goldman, a member of Norman Hanson DeTroy in Portland, who represented the McDonald’s franchise owner, said the court’s ruling was a matter of common sense to ensure the law “properly incentives the right kind of behavior” from employers.