The ruling requires Homeland Security Department agents to follow the more restrictive Biden-era rules at the affected houses of worship while the case moves forward.