What are the ethical and legal challenges of designating jails as special camps for foreign nationals?

Tamil Nadu has designated a district jail as a special camp for Bangladeshi nationals. I am curious about the implications and challenges of using prisons for detaining foreigners, especially regarding human rights and international norms.