Initially, thought that it referred to uninvited human visitors!
My wife used to fund raise and help at a Cat Refuge. The toilet in the "pensioners pen" was a sand pit. The local rats dug a tunnel that emerged at the side of the pit. One of the cats pee'd down it. No more rat visitors! (Not surprising given how smelly cat pee is)
Our cats bring in field mice, but thankfully none of them, or rats, fancy a nice cosy wooden workshop, (YET).
Probably wouldn't like the glassfibre between the inner and outer walls.
The school gerbil used to escape, and chew the cables for the various electronic learning aids.
Funny how rodents like plastics.
We put some food in a plastic bucket, and covered it with a card circle with cuts radiating from the centre, and laying a convenient ramp upto the lip. Boy was he MAD when we found him! Stupid animal always fell (literally) for the same trick.
Farmers used to trap rats by taking out a few scoops from the corn bin each day, until one day ratty leapt in, but found that he couldn't jump high enough to get out. A fatal mistake!
The simplest ways are often the best, a good old fashioned mouse/rat trap. Simple, easily repaired, unlikely to malfunction, and needs no batteries.
Howard