Lead-free halides with perovskite-related structures, such as the vacancy-ordered perovskite Cs3Bi2Br9, are of interest for photovoltaic and optoelectronic applications. We find that addition of SnBr2 to the solution-phase synthesis of Cs3Bi2Br9 leads to substitution of up to 7% of the Bi(III) ions by equal quantities of Sn(II) and Sn(IV). The nature of the substitutional defects was studied by X-ray diffraction, 133Cs and 119Sn solid state NMR, X-ray photoelectron spectroscopy and density functional theory calculations. The resulting mixed-valence compounds show intense visible and near infrared absorption due to intervalence charge transfer, as well as electronic transitions to and from localised Sn-based states within the band gap. Sn(II) and Sn(IV) defects preferentially occupy neighbouring B-cation sites, forming a double-substitution complex. Unusually for a Sn(II) compound, the material shows minimal changes in optical and structural properties after 12 months storage in air. Our calculations suggest the stabilisation of Sn(II) within the double substitution complex contributes to this unusual stability. These results expand upon research on inorganic mixed-valent halides to a new, layered structure, and offer insights into the tuning, doping mechanisms, and structure-property relationships of lead-free vacancy-ordered perovskite structures.