Butyl tape will appear as if its squeezing out as you tighten the screws (it is)
That is how it seals. I have heard RV dealers say as long as it keeps squeezing out its doing its job.
Now foam is just that, foam with some built in glue to hold it in place while tightening parts together. When I think of foam, I think of a sponge that soaks up water. I had an RV that all the external joints were sealed with foam and it had delamanation issues at most external joints. the manufacture was quick to say "you know you need to take that whole RV apart and replace that foam every 5 years?".
I have also used a good TriPolymer like Geocel Proflex RV for a better seal after installs. My wolf creek the dealer sealed every joint with Proflex RV before I picked it up, so I had him do the same thing when i traded that on an Arctic Fox.
If it was me, I would use Butyl tape. And I see there is white, gray and black and some putty tape not marked Butyl at all. I Keep a role in my cabinet at home.
for some reason the black seems to be sticker to me (maybe because it reminds me of that stick stuff I used to seal windshields with back when I worked for Mopar) but the white looks better when it squeezes out.
But than the Marine world seals underwater fittings with stuff like 3m marine adhesive.
2022 Ford F150
Sold: 2016 Arctic Fox 990, 2018 Ram 3500, 2011 Open Range
Sold Forest River Forester 2401R Mercedes Benz. when campsites went from $90 to $190 per night.