Government lost battle to get people vaccinated for Covid-19