The rat snakes we have had in our hens' nest outside of Austin come in broad daylight when the coop is open.
One came regularly at the time the nest would be full of eggs in the early afternoon.
Scared the hens so they started laying on the floor of the coop and in very odd places.
We have had 2 rat snakes- one ate chicks and the other cost us about 3-4 weeks worth of eggs.
I shoo-ed one away with ice cold water, thinking that would keep it away, but the next time, it didn't even leave the nest when splashed.
The state herp says that golf balls and fake eggs are cruel and inhumane ways to control snakes.
If it is a problem, then I believe a blow to the head that kills the brain is the most humane way to solve the problem.
Relocating it just makes it someone else's problem...