Posted:

When the Detention Centre Counts

CitizenshipIndia: an Indian passport beside prison bars, a family walking towards the Supreme Court, birds in flight

A foreign national without papers often lives under two systems at once. One is the criminal law, which charges, tries and sentences him. The other is the law on foreigners, which decides whether he may stay, and where he must wait while the State arranges his removal. Each system has its own vocabulary and its own places of confinement: the prison for one, the detention centre for the other. In Rajasthan, the detention centre sits inside a jail. The question is whether time in one counts as time in the other.

A recent reportable order of the Rajasthan High Court at Jodhpur, Hoshiyar Mohammad Niyan v. State of Rajasthan, decided on 25 November 2026, gives a clear answer on one part of that question. Time spent in a detention centre while a criminal case is pending can count towards the sentence later imposed in that case.

Bail That Did Not Free

The facts are simple. The petitioner, an Iranian national, was prosecuted along with two others. During the trial he was granted bail, and he executed his bail bonds. He was not released. In the Court’s words, the prison authority “instead of releasing him, on bail had detained the petitioner in detention center (Central Jail, Alwar)”. The detention centre in Rajasthan is run inside the Central Jail at Alwar.

He was eventually convicted under section 14 of the Foreigners Act, 1946. On appeal, his sentence was reduced to three years’ rigorous imprisonment, with set off for time already spent in police and judicial custody. The appellate order added that after serving the sentence, the appellants were entitled to deportation and would be kept in a detention centre while they waited for it.

The Public Prosecutor admitted that the petitioner had remained in the detention centre from 8 July 2023 until he was moved to the Central Jail, Bikaner to serve the modified sentence, and that no other case had been registered against him. A jail certificate recorded that, by 20 November 2026, he had served seven months and eleven days of the modified sentence.

So the only question was whether the period in the detention centre should be set off under section 468 of the Bharatiya Nagarik Suraksha Sanhita, 2023, which corresponds to section 428 of the Code of Criminal Procedure.

What Set Off Requires

Section 468 BNSS provides that where an accused is sentenced to imprisonment for a term, “the period of detention, if any, undergone by him during the investigation, inquiry or trial of the same case and before the date of such conviction, shall be set off against the term of imprisonment imposed on him”.

Two conditions stand out. The detention must come before conviction, and it must be in the same case. The Court also noted a gap in the statute. The word “detention” is not defined in section 2 of the BNSS, and neither is “custody”. There was no ready label to decide whether a detention centre counted.

The Court turned to the Supreme Court’s reading of section 428. In Atul Manubhai Parekh v. CBI, the Supreme Court held that set off relates only to pre-conviction detention in the same case, and distinguished ordinary undertrial detention from detention under preventive detention law. As the High Court read that judgment, physical confinement by itself is not enough; the legal nature and purpose of the detention must also be examined.

The Court also referred to State of Maharashtra v. Najakat Alia Mubarak Ali and to later Supreme Court decisions noting that a larger bench has been asked to consider set off for detention suffered in other, separate cases. That pending question did not arise here, because only one case was involved. Finally, citing Maliyakkal Abdul Azeez, the Court recalled why section 428 was enacted in 1973: undertrial prisoners were often kept in jail for periods out of all proportion to the offence, sometimes longer than the sentence finally awarded.

Custody by Another Name

Applying these principles, the Court made three findings.

First, the detention was not preventive detention. The petitioner “was not detained under any other law related to preventive detention rather he has been detained in detention center as he is a foreign national and does not possess any document to stay in India.”

Second, it was connected to this case. The Court recorded that “the detention in the detention center is not for any preventive detention rather it is in relation to present case”, and that he had no other criminal case.

Third, it was custody. The detention centres, the Court explained, “are created under the Immigration and Foreigners Laws and meant to restrict movement of foreign nationals, illegally landed in India.” The petitioner stayed there after bail but during the trial. “It clearly means the petitioner remained in custody but not in judicial custody.”

The decisive reasoning follows. He stayed in detention “as he was not having a valid document either to travel to his own country or remain free in the territory of India. The freedom has been curtailed by the authorities and no other case was registered thus reason behind the detention in the detention centre, is not to set free petitioner in terms of bail.” The period in the detention centre therefore “deserves to be counted as a period of set off”.

The Court clarified that the petitioner is entitled to set off for the time spent in the detention centre at the Central Jail, Alwar.

Where the Two Systems Meet

This is where detention and prison time coalesce. Immigration detention, as the Court noted, is custody but not judicial custody. Yet when a foreign national granted bail in a criminal case is held in a detention centre instead of being freed, the Court treated that confinement as detention in the same case, because it kept him from being set free in terms of bail. The order looks past the label to the nature and purpose of the detention, as Atul Manubhai Parekh requires.

The result rests on the facts the Court relied on: one case, no preventive detention order, and confinement that kept him from being set free on bail. Where those facts are present, the years in the detention centre count towards the sentence in the same way as time in prison.

The order also shows the full cycle a foreign accused may face: a detention centre before conviction, prison after it, and, as the appellate order directed, a detention centre again while deportation is arranged. This order deals with how the first stage counts towards the second.

This post is commentary and not legal advice.

Leave a Reply