The Massachusetts Court of Appeals dismissed a lawsuit against the Department of Children and Families, finding the agency acted within its discretion when implementing a virtual COVID-19 visitation policy for parents and children in the department’s custody.

Six parents whose children were in the custody of the department challenged the policy during the initial outbreak of the pandemic, which limited in-person visits between the parent and child to primarily virtual visitations by videoconference in March 2020, according to the appellate court order filed on Wednesday.