Lawyers for California are defending temporary restrictions on large indoor worship services, telling the U.S. Supreme Court in a filing Monday that the state has appropriately balanced pandemic rules with religious freedoms.

Writing in opposition to a legal challenge brought by Pasadena-based Harvest Rock Church, Attorney General Xavier Becerra and his legal team acknowledged the high court’s ruling last Wednesday in Roman Catholic Diocese of Brooklyn v. Cuomo, which blocked a New York state order capping the number of people who could attend houses of worship.