Former prince had been detained by police on suspicion of misconduct in public office