An ambulance was called to Ballymena Courthouse on Thursday after a defendant took ill.
Dale McKee (25), with an address at Edward Street in Ballymena, had previously pleaded guilty to thefts from a number of shops including £200 worth of meat; bottles of fragrance worth £102; £36 worth of detergent; a microwave, kettle and toaster.
His case had previously been adjourned until Thursday.
When the case was first mentioned on Thursday, defence solicitor David Nagra said the defendant was outside “but he is not really in a good state”.
The case was passed to see if the defendant could come into the court and a short time later, defence barrister Neil Moore said: “He is now in the back of an ambulance”
Mr Moore said the defendant was being attended to by two paramedics.
The lawyer said he suspected the defendant had suffered an “overdose”.
Previous court hearings heard McKee described as a heroin addict who was on a methadone programme.
The case was adjourned to June 28.
An ambulance spokeswoman told ‘Ballymena Daily’: “The Northern Ireland Ambulance Service received a 999 call at 12:32 on Thursday 21 June 2018 following reports of an incident in the vicinity of Albert Place, Ballymena.
“NIAS despatched an Emergency Ambulance crew to the incident. Following initial assessment and treatment at the scene, one patient was transported to Antrim Area Hospital”.
A Northern Health Trust spokesman said on Thursday afternoon: “We are not in a position to give a condition report because we don’t have consent”.