DALLAS (AP) — A federal judge says Southwest Airlines is within its rights to require employees to get vaccinated against COVID-19. The judge ruled this week against a request by the pilots’ union to issue a temporary restraining order against a vaccine mandate.

The judge says Southwest can impose a mandate to improve safety and maintain its operations.

Southwest is asking employees to get vaccinated or apply for a medical or religious exemption by Nov. 24 but the airline has backed down from a threat to fire employees who don’t comply.

Southwest Airlines recently dropped its plan to put unvaccinated staff on unpaid leave if they haven’t received religious or medical exemption starting in December.

Rumors circulated earlier this month that employees had staged a massive “sickout” in protest of the new policy after thousands of flights were delayed or canceled by the airline, leaving thousands of passengers stranded. Southwest and the Southwest Airlines Pilots Association disputed those rumors.

A judge recently stopped United Airlines from putting unvaccinated workers on leave.

ABC4 contributed to this report.