If the user tries to make a shift in A_s instead of sigma8 without providing As as a reference cosmology, CCL will create the reference cosmology with sigma8 and then break when the user tries to shift As.
The code should catch that the user is shifting As and then create the reference cosmology with As instead of Sigma8.