The emergence of magnetic flux through a partially ionised solar atmosphere