; or for any other compelling reason. (2) The judicial officer may, by subsequent order, permit the temporary release of a person who has been detained to allow the person to attend a major life event of an immediate family member, such as a wedding, birth, religious ritual, graduation, deathbed visit, or funeral, if the judicial officer finds that conditions of release could reasonably mitigate any previously identified risk for the limited period of release. An immediate family member is defined as a spouse, domestic partner, cohabitant, child, stepchild, grandchild, parent, stepparent, mother-in-law, father-in-law, son-in-law, daughter-in-law, grandparent, brother, sister, half-brother, half-sister, stepsibling, brother-in-law, sister-in-law, aunt, uncle, niece, nephew, or first cousin. (i) Procedures in Removal Cases (1) A person who is arrested or summoned to court in a district other than where the offense was allegedly committed (hereinafter in this section referred to as the arresting district ) shall be entitled to an initial appearance hearing and a pretrial release hearing in the arresting district. The initial appearance hearing shall occur no more than 48 hours after the person enters custody. Upon appearance before a judicial officer in the arresting district, the person shall be detained or released as provided in subsections (a) through (h) of this section. (2) If the judicial officer in the arresting district orders the detention of the person pending transfer to the district where the offense was allegedly committed (hereinafter in this section referred to as the charging district ), the person shall be taken before a judicial officer in the charging district not more than 5 days after the initial appearance hearing in the arresting district and shall receive an initial appearance hearing and pretrial release hearing in the charging district in accordance with subsections (a) through (h) of this section. The judicial officer in the charging district is not bound by any factual or legal