Yeah it's called "dieseling". There are all kind of YouTube videos on how to actually make it work to your favor and actually make it "act" like an actual firearm.
Brings a story to mind. Years (many years) ago, my grandpa had grown a peach tree in his backyard in Chicago. He nurtured it from a seed. He got peaches off that tree nearly the size of grapefruits. And soooooooo goooooood. But squirrels were his nemesis. They would go in the tree, nibble on one and drop it, nibble on another and drop it. One day he'd had enough. He borrowed my uncles .22 rifle. He bought a box of what are called BB caps. Sat in his porch window and waited for the offender, took aim and pow.
My dad and I showed up slightly after he'd nailed the critter. He told my dad he was getting the ultimate revenge. He ate the squirrel.