; and (B) (i) if the respondent may lawfully own and possess firearms and ammunition, notify the respondent that the respondent may retrieve each firearm, ammunition, or permit surrendered by or removed from the respondent under subsection (f); or (ii) if the respondent may not lawfully own or possess firearms and ammunition, notify the respondent that each firearm, ammunition, or permit surrendered by or removed from the respondent under subsection (f) will be returned only when the respondent demonstrates to the United States Marshals Service that the respondent may lawfully own and possess firearms and ammunition. (2) Return If an extreme risk protection order is dissolved, or expires and is not renewed, and the United States Marshals Service confirms under paragraph (1)(A) that the respondent may lawfully own and possess firearms and ammunition, the court that issued the order shall order the entity that possesses each firearm, ammunition, or permit surrendered by or removed from the respondent under subsection (f) to return those items to the respondent. (h) Return of firearms and ammunition improperly received If a court, in a hearing under subsection (d), determines that a firearm or ammunition surrendered by or removed from a respondent under subsection (f) is owned by an individual other than the respondent, the court may order the United States marshal or designated law enforcement officer in possession of the firearm or ammunition to transfer the firearm or ammunition to that individual if— (1) the individual may lawfully own and possess firearms and ammunition