A north Belfast man was remanded into custody on Saturday accused of firearms offences.
Belfast Magistrates Court heard this was not the first time that 49-year-old Stephen Jones had faced a court and that he had been wrongfully remanded into jail two weeks ago.
Jones, from Cliftonville Avenue in the north of the city, is charged with having a rifle magazine and 29 bullets under suspicious circumstances on September 24 this year.
Detective Constable Collins told the court he believed he could connect Jones to the charge.
Solicitor Philip Breen argued however that as Jones had initially been charged and remanded into jail on legislation that did not exist.
He said: “I have issues about the legality of this remand”.
He revealed that the police and PPS mistake was spotted on Friday and Jones was released but then re-arrested.
Mr Breen submitted there “would have to be some change” to permit the same charges to be brought before the court.
District Judge Ken Nixon disagreed however saying that the charge was “quite rightly before the court”.
He remanded Jones back into custody to appear again via video link on November 1.