The law says
IRPR r. 250250 If a completed application for a passport or travel document must be provided as a condition of release from detention, any completed application provided by a foreign national who makes a claim for refugee protection shall not be divulged to government officials of their country of nationality or, if there is no country of nationality, their country of previous habitual residence, as long as the removal order to which the foreign national is subject is not enforceable.
Justice Laws is the authoritative version. If this copy and it ever differ, Justice Laws wins.