Final answer:
An arrestee should be booked, informed of their charges, and provided the chance to appear before the court. They must receive the Miranda warning and should be given access to an attorney. In cases of deportation, they will be informed about the transfer process to the appropriate facilities.
Step-by-step explanation:
Upon arrival at the detention facility, an arrestee should go through a booking process where their basic information is recorded, and any personal belongings are confiscated and stored. They will be given a chance to communicate with their attorney and, in accordance with the principle of writ of habeas corpus, they should be informed of the charges against them and be provided with the opportunity to appear before the court. This is a fundamental right outlined by rule-of-law countries to ensure that an individual's freedom is not unjustly compromised.
The arresting officers are also required to read out the rights to the arrestee, often encapsulated in the Miranda warning, which includes the right to remain silent and the possibility of having an attorney appointed if they cannot afford one. In cases involving deportation, such as the scenario implied in the question, the arrested individual will be informed about the deportation process, including transfer to the appropriate facilities. Moreover, the detention of suspects must comply with both national and international human rights laws, ensuring due process and protection against unlawful imprisonment.