Just a quick remark, the top jaw and jaw screw look like they came from a miquelet pistol. Not sure though it might just be the type of lock, but it caught my eye.
My guess would be a Swedish flintlock pistol, the pommel seems similar to the ones i have seen at Swedish auctions (labeled as Swedish).
Nothing concrete, but it is a lovely piece no matter what.