A Home Office spokesperson said the Government was "acting rapidly" to introduce new rules to help forces sack officers who could not hold vetting - an official system used to assess someone's suitability to work for the police.
London's Independent Victims' Commissioner Claire Waxman said: "Today's decision by the court is a significant blow to the hard work of the Metropolitan Police to root out dangerous officers and restore public trust and confidence, and the consequences should concern us all.
He said the Metropolitan Police Federation were "perverse" for choosing Sgt Di Maria's case to mount the legal challenge, because of the nature of the allegations against him, all of which he denies.
Sergeant Lino Di Maria successfully mounted a legal challenge, supported by the Metropolitan Police Federation, after having his vetting removed over sexual assault allegations, which he denies.
Officers such as Sgt Di Maria would remain on paid leave until the changes were made, Sir Mark told reporters outside New Scotland Yard.