And yet you'd have a really tough time finding a white collar gig where paid leave wasn't a bog-standard part of the package. So nah, rail companies are getting caught out because they are absolutely fucking around with this.
Edit: A more extreme example; there is a rule that says airlines mustn't make pilots work more than a certain number of hours without a rest period. This rule applies to all airlines. This rule was introduced to reduce the number of planes crashed by tired pilots.