Whenever there's more than one potential meaning for a word or phrase you have to use the context to give you clues. That said, your confusion here is understandable. The sentence could certainly be rewritten to make the meaning clearer:
In Russia today, gangsters feel free to thumb their noses at the police because corrupt authorities protect them from prosecution.