Two men have appeared at Portlaoise District Court in connection with a robbery at an Iarnród Éireann depot last week.
A man was injured during the incident.
The pair were charged with robbery at Kilbricken, Mountrath, Co Laois on them morning of Wednesday 6 December.
Patrick Martin, 27, with an address at St Mullins, Co Carlow, and Patrick Cunningham, 20, with an address at Myshall, Co Carlow, appeared before the court.
Detective Garda Mark Russell gave evidence of arresting both men. He told the court that when the charge was put to both that they made no reply.
He said that a file is being prepared for the Director of Public Prosecutions.
He told the court that he was objecting to bail in both cases.
Judge Catherine Staines remanded Mr Martin in custody to Cloverhill Prison to reappear in court on Friday 22 December.
Judge Staines remanded Mr Cunningham in custody with consent to his own bail of €100 and an independent cash surety of €3,000, with a number of conditions.
These include that he signs on daily at Tullow Garda Station, he surrenders his passport, provides a mobile phone number to the gardaí and to observe an 8pm to 8am curfew.
She then adjourned his case to January.