See it's shit like this that makes me scared to travel out of country. You never know which corrupt officials you are going to run into and I'd rather not take the chance.
Down here close to the border everyone knows that the Mexican "police", aka Federales, are corrupt and they demand bribes from US citizens all the time.