The majority gets recovered from Network Rail one way or the other.
As for the safety of the subsidy, it not being there would involve politicians losing a lot of face, so probably very safe.
That said, pretty sure CS is effectively a 'managed contract' these days (or the Covid emergency...