HOUSTON (CBSDFW.COM/AP) — Monday morning the Texas Supreme Court upheld the City of Houston’s refusal to allow the state Republican convention to hold in-person events due to the COVID-19 pandemic.

The court dismissed an appeal of a state district judge’s denial of a temporary restraining order sought by the state Republican Party.

The state GOP convention had been scheduled to begin Thursday at Houston’s downtown convention center and was expected to draw thousands of participants.

Houston Mayor Sylvester Turner, a Democrat, said last week that he had directed city lawyers to terminate the contract because he believed the event could not be held safely. He denied that the convention was cancelled due to political differences and cited the potential risk to service workers and first responders if the virus spread through the convention.

The state party sued a day later, alleging the city illegally breached the contract and accusing Turner of shedding “crocodile tears.”

State District Judge Larry Weiman sided with Turner, citing Houston statistics that show major hospitals exceeding their base intensive-care capacity due to an influx of COVID-19 patients. In fact, city leaders are calling for another lockdown as the number of active cases of the coronavirus in Harris County increased to more than 27,600 on Sunday.

Texas has set daily records in recent days for the number of COVID-19 deaths and confirmed cases.

The Texas Medical Association withdrew its sponsorship of the state GOP convention and asked organizers to cancel in-person gatherings. As the virus has surged throughout the state in June and July, Gov. Greg Abbott, the state’s top Republican, has reversed some business reopenings and broadly required the use of face masks.

But state Republican chair James Dickey has insisted that organizers can hold the event safely. Prior to Turner’s move to cancel the convention, Dickey said the party had planned to institute daily temperature scans, provide masks, and install hand sanitizer stations.

(© Copyright 2020 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)