The railroad wanted Pa. law to apply because their liability and duty to the P. would only be that of such duty owed to a trespasser. They did not want NY law to apply even though that is where the suit was brought.