Section 43D(7) in The Unlawful Activities (Prevention) Act, 1967
(7)Notwithstanding anything contained in sub-sections (5) and (6), no bail shall be granted to a person accused of an offence punishable under this Act, if he is not an Indian citizen and has entered the country unauthorisedly or illegally except in very exceptional circumstances and for reasons to be recorded in writing.