I guess I see it differently because of the attitudes around here and growing up being told that "stupid ought to hurt". To me it is just a simple matter of, the trespasser, regardless of age or reason, violated a law when he chose to trespass on property he doesn't own and had no permission to be on, so whatever the consequences of his actions turn out to be, they are his own fault.
Around here, you can set a trap for trespassers, but not one designed to kill. So trip wires, alarms, etc, are fine. Many also have barbed wire fences, and people are constantly getting injured on the barb wire, but it is seen as the trespassers fault.
My last incident with a trespasser, was about 3-4 years ago now with the neighbors 17 year old "kid" who kept cutting my garden hose in the front of the house, and I set trip wires. Local PD thought it was hilarious when the kid tripped and sprained his wrist, and then his mother tried to press charges against me. They refused and told her that her son will get hurt if she doesn't start being a parent and teaching him right from wrong. Well, fast forward a month, and my dog alerted me to something going on in my driveway without letting the trespasser know. I went out there with my 12ga, and found the next door "kid" trying to pry my truck door open with a screw driver. He didn't see me til I asked him what in "Hades" he thought he was doing, at which he turned to face me and took a step forward with his screw driver, so I put a load of rock salt in his chest, and worked the pump to chamber a load of 00 Buck, and called the PD to let them know I'd dealt with a problem, and could they come out please. Well, when they arrived, we walked the "kid" home and explained to his parents, who were all kinds of upset with me, what their delinquent had been doing. They insisted on pressing charges against me, but the officers refused and informed them that I had just used my last shell of rock salt, but that they would give me a box of buckshot to use if I had any more trouble. Would you believe if I told you that I haven't had any more problems once word got out what happened, and those neighbors found themselves a new house to rent a few months later? Even better is that the new neighbors have heard about that incident and their kids come over now and then with their father to shoot BB guns in my back yard. No trouble out of them, and I bet there won't be, cause the parents raise them right. Wish I could say the same about the previous neighbors kid, but last I heard, he got himself shot in a drug deal, but unfortunately survived, and failed to learn from it. There WILL be a next time for him, even though I wish he had learned and changed his ways instead.