Don't conflate the nominal gauge of the chamber with the bore diameter (in gauge measurement). The most common 12 ga, as we see from German proof marks, often have 13 ga. or 13/1 ga. barrels. The actual bore diameter in both smooth bore and rifles, very often don't match the nominal chamber.
Mike