This is a WAG...but the lack of front sight and rounded conical barrel make me think it is intended to insert into something...maybe firing a blank cartridge...an igniter...or maybe a launcher for something...
I'm thinking that something might clamp onto the barrel, at the rear...or maybe the pistol itself is clamped into something...for signaling maybe???
Definitely something that bears investigation...