(b)if satisfied with respect to any person who is a foreigner within the meaning of the Foreigners Act, 1946-(31 of 1946), that with a view to regulating his continued presence in India or with a view to making arrangements for his expulsion from India it is necessary so to do, make an order directing that such person be detained.