You’re technicall still using the company’s resources (it costs some energy to run the empty train), so I still don’t think it really compares to piracy.
But since they are miniscule compared to what they are wasting by running largley empty trains I think it’s morally ok in that case.
A perfect example for why having an adblocker is a necessity these days.