<question>
If a passenger railroad, Railroad X, contracts out its train operations to Railroad Y, and an incident occurs during one of these contracted operations, who bears the ultimate responsibility for ensuring compliance with safety regulations, and why?
</question>

Was this question written by a human domain expert? Answer only "Yes" or "No".