Um, no. The provisions of Ag and Markets Law are statutes.
You are still muddling things.
The authority requiring the use of a vet to put down a dog is regulation in NY and a statute in PA.
The general cruelty statute you cite was NY and does not apply, as medical treament that was necessary (death) was given.
This was NY.