A barrister’s mischievous terrier will live to see another day after a court ruled the dog was not dangerously out of control when he bit a police horse.