I'd agree with Eagle.

I've been asked to do similar installations.Lights and/or receps in the pumphouse off the pump ckt come to mind.

Usually the people that ask for this are too cheap and scream in pain when you price the correct installation,so they find a "handyman" or someone who's "done some wiring" to do it anyway.

It's a bad installation,and the line must be drawn somewhere but that would be mild compared to some things you find around here.

Arresting the guy sounds a bit overboard to me.