At the risk of making the OP’s problem worse: https://www.visittromso.no/ for the curious.
A quick scan of the OP’s history suggests that they live in Norway, but I don’t know if that tells us anything about what a “small town” is. Nor do we know why the town is popular. It’s at least plausible that tourists stay in that small town because there are so many places to stay, and it’s close to some area that is the real reason the tourists are there. (like a mountain to ski on, or something).
I doubt the OP expects a real answer, because they didn’t provide enough information.
Run for mayor (or local equivalent), win, and then push for/implement a bunch of rules that make the town inhospitable to tourists.
I assume the tourism brings in money to the local community, yeah? Cutting off that income will probably mean you won’t be able to win the next subsequent election, so act fast.
My wife had a guy start at her company the same day she did, but he got fired that same day because for reasons no one understands he decided it would be wise to make his Teams (or whatever they used. Slack? I can’t remember) profile picture a meme that said “Epstein didn’t kill himself” or something to that effect.
It was a six figure software engineering job, too. I cannot imagine losing a job like that for such a silly, self-inflicted reason.
Is this really where you are talking about?