What was the rule of decision as to which a conflict existed? What duty of care does a railroad owe to persons who use pathways along the railroad right of way?. Pennsylvania law said that such persons are deemed trespassers and that the rairoad is not liable for injuries to undiscovered trespassers resulting from negligence, unless the negligence is wanton or willful.