Government involvement in public transport arteries goes back to the canals of Babylon and Roman roads. And continues through things like General Wade’s roads in Scotland right up to HS2. It’s just a fact of life. Ireland was a significant military establishment for the Crown, vital to defending the western approaches and a convenient place to garrison and exercise troops. So railways were built to facilitate that, just as they were to Aldershot, Portsmouth and Salisbury Plain.