The officer could have pepper sprayed the dog.