The High Court granted permission but a few days before the full hearing the police conceded , agreeing to a " consent order " that declared the arrest unlawful and ordering the deletion of the photographic , fingerprint and DNA records and the amendment of the Police National Computer .