Rota is a USN base, and presumably internal security is provided by the USN. I dont see why Gibraltar would be safer from Russian agents.
I guess it would depend on what the liberty conditions are like. Many Spanish or mostly British. Getting drunk or not. Lots of loose women or not. Russian sympathies in town or not.