Licensing (Ireland) Act, 1833

If a soldier offends, justice shall communicate the same to the commanding officer, &c.

16. If any offender convicted in manner aforesaid shall be a soldier on full pay, and attached to any regiment in his Majesty’s service stationed or being within the jurisdiction of such justice, a communication of such conviction shall be forthwith made by such justice to the commanding officer of such regiment, and the offender so convicted shall be detained until delivered over to the commanding officer, or his order, to be amenable to military discipline.