The top court also permitted authorities to undertake euthanasia of “rabid and dangerous dogs” to mitigate threats to human life