US Soldier shoots dog with M203 training round

Under what circumstances could this have been a justifiable action?