The eldest son of celebrity chef Rachel Allen is to spend the next three months in a residential facility for addiction treatment prior to his sentencing for possessing over €22,000 worth of drugs.

Joshua Allen, 19, of Ballinmona, Shanagarry, Co Cork was remanded in custody at Cork Circuit Criminal Court earlier this month.

The presiding judge in the case, Seán Ó Donnabháin, said that his response to facing serious drug charges was "unimpressive".

Today, at the court counsel for the defence Siobhan Lankford SC, said her client had been anxious to secure a bed in a three-month continuous residential treatment programme for his addiction issues.

The bed has now been secured.

Allen will remain in the treatment facility right through Christmas and up to and possibly beyond his sentencing hearing depending on the outcome of the case.

Counsel for the State, Donal McCarthy SC, said they had no objection to Allen entering a residential treatment programme provided that he goes under the direction of The Probation Service and immediately takes up his place in the facility.

The treatment centre will inform The Probation Service if Allen steps out of line whilst in residential care for his addiction issues.

Ms Lankford said that her client had no difficulty in complying with any and all directions of the court.

Judge Ó Donnabháin remanded him on bail on his own bond of €100 until his sentencing hearing on 28 February.

He directed that Allen immediately enter the treatment facility.

He said that no determinations had been made about the outcome of the case and that there was "no guarantees in this courtroom".

Allen left the courtroom accompanied by his father Isaac.

At a previous court sitting earlier this month Judge Ó Donnabháin said that the probation report had shown that the defendant "had not matured in the manner" he would expect for a person facing serious charges.

"There is no point in minimising what has happened. He has knitted his own jumper. I will not let him do that."

Earlier this year, Allen pleaded guilty to two drugs charges at Ballymaloe Cookery School in Shanagarry, Co Cork on 30 August 2018.

He pleaded guilty to possession of cannabis for sale or supply when the market value exceeded €13,000 or more.

Allen also pleaded guilty to possession of cocaine on the same occasion.

Cork Circuit Criminal Court heard that Allen was arrested in September of last year after the controlled delivery of a parcel containing the cannabis to an address in east Cork.

Customs in Portlaoise Mail Centre had become suspicious of the parcel, which had a US postmark.

Det Garda Michael O'Halloran told the court that the package was intercepted by customs in Portlaoise.

It was found to contain cannabis with a street value of €22,694.

A controlled delivery was arranged addressed to Joshua Allen at Ballymaloe Cookery School.

The package was signed for and received by Allen. Gardaí observed him opening the package.

A small quantity of cocaine worth €66 was found to be in the wallet of the defendant.

Allen was arrested and detained at Cobh Garda Station. He admitted that it was his third or fourth time engaging in such a delivery.

He cooperated fully with gardaí and told investigating officers that he secured the drugs from a female resident in California whom he met in east Cork.

He had travelled to London and paid her €2,000 in cash for the drugs.

On 5 September, a further small quantity of cannabis was discovered at Ballinamona, Shanagarry, Co Cork. The cannabis, which was found at his home, had a street value of €203.

Ms Lankford told the court that her client had no previous convictions.

She acknowledged that he had shown a lack of maturity in how he had responded to the serious charges and stated that he had left school at the age of 15.

She said he had co operated fully with gardaí and was keen to receive treatment for his addictions.

In a statement last year, Rachel Allen and her husband Isaac said they were "devastated" by the arrest of their son in relation to drugs charges.

The couple issued a statement in a bid to "alleviate the frenzy of inquiry and speculation on going in relation to our son Joshua".

Mr and Mrs Allen said that he had admitted his guilt and was cooperating with gardaí.

The couple said their son had made a "huge mistake", which would lead to "profound consequences" for him.