If you want to control who lives next to you, feel free to buy the neighboring properties.
I'd like for people expressing these political preferences to not be allowed to live in my neighbourhood either, but unlike you, I also recognize that you have as much right to live there as those 8 college students.
If foreigners could vote in San Francisco, the majority of which are renters, it would overwhelmingly crush this position.