Absorption spectrums have never let us down, and are used all the time.
For this one place in the universe to have an exotic particle with an adsorption spectrum is pretty much impossible. To have an adsorption spectrum that is an exact mach for Barium is just adding a second impossible on top of the first.
Given the choice between something surprising and a doubly-impossible phenomena, the choice is clear.
Devil's advocate: we have never had the chance to actually verify an exoplanet absorption spectrum. Could be that they are letting us down every time.
In this solar system, yes, absorption spectrums seem to be reliable. Anywhere else is extrapolation.
Edit-the best I can think is have every satellite built with a particle detector as a standard. No idea if those could be scaled down.
Edit2-seems doubtful.
But more directly, absorption spectra are so intimately tied to the QM of the molecules and elements involved that they’re probably unique. (Hunch/not seen a proof.) This is also the most experimentally verified theory known.
There is not a single absorption line, but a very large number of such lines, at different frequencies between which the relationship is not simple.
When several different absorption lines are measured and match the spectrum of a certain atom or ion, the chances of any other phenomenon causing correlated absorptions for all those different frequencies are negligible.
Molecular spectra are much more complex than atomic spectra and they have many closely spaced absorption lines, so there may be some confusions between different molecules when the observations are made in a limited frequency band, in which some molecules behave similarly, even if they would behave differently in other frequency bands that are not accessible for observations.