There will always be edge cases for which the TVM does not cater for.I doubt that either all the ticket machines will be down or the booking office closed at Dublin Connolly, Drogheda or Dundalk in advance of an Enterprise departure.
Seems strange the it's 50/50 dependant on operator whether you'll be charged on the train for this.