Modelling galaxy spectra at redshifts 0.2 ≤z ≤ 2.3 by the [OII]/Hβ and [OIII]/Hβ line ratiosM. ContiniA&A, 564 (2014) A19DOI: https://doi.org/10.1051/0004-6361/201322880