The High Court ruled in 2022 that government policies on discharging hospital patients into care homes at the start of the pandemic were ‘unlawful’