Mental health facilities generally got the balance right between preserving people's human rights and keeping them safe from Covid-19 during the strict lockdown.
But things might have been different if the units had been full to capacity - that's according to a new report from the Chief Ombudsman.
Due to the higher risk of coronavirus spreading in places of detention, the Ombudsman decided to keep doing on-site inspections doing the lockdown visiting five specialist treatment, forensic and acute mental health facilities in the Canterbury and Wellington regions.
Those inspections ended with three of the mental health units being asked to lift their game.
Chief Ombudsman Judge Peter Boshier talks to Lisa Owen.