Rats can leap a meter straight up, climb ladders, climb walls, hell, they can climb any vertical surface that isn't polished metal. They'll chew through metal screens with ease and sometimes succeed at wire mesh. Expanding foam just lets them know there's something good on the other side.
Probably due to killing 250+ in my life, I am cursed by these animals. They follow me everywhere I go. At least they're not in my house at the moment…
Tie down traps because a paraplegic rat is quite mobile. Use wire because they'll chew through string. I'll never understand how, but they'll often end up ass-first in traps and that will require killing them personally. If you're rural, an air rifle will do, but in urban areas, it's just going to have to be something heavy. Rodents in particular seem to be under pressure and have a great deal more blood in in them than you'd imagine. Be prepared for that…
Poison is for that special kind of person that is lazy and tolerant of that rotting corpse smell. Also, people imagine that they'll conveniently die outside or in the attic or crawl space. They're just as likely to die in your pantry or in a frying pan.
How does a rat get into the oven? Why doesn't it go out the same way it came in? We'll never know. If you hear a hell of a racket coming from inside, turn up the heat and don't open it for awhile. Oh, it's going to smell awful. Just awful. You'll need to clean that out and rethink dinner for quite awhile…