I belive the proofmarks will decipher the intended use but the photos are too small for me to see what they are. It could have been a cape gun, right barrel rifled and then smooth bored but it could have been made as you say. Proofs will tell.