FILE — U.S. President Donald Trump speaks to members of the U.S. Navy and shipyard workers on board the USS Gerald R. Ford CVN 78 that is being built at Newport News shipbuilding, on March 2, 2017 in Newport News, Virginia. (Photo by Mark Wilson/Getty Images)

WASHINGTON (AP) — The Republican National Committee is siding with President Donald Trump on his order to bar transgender individuals from serving in the U.S. military.

The committee passed a resolution Friday that supports Trump’s August demand that military recruitment policy consider transgender as “a disqualifying psychological and physical” condition.

READ MORE: Person Critically Injured In Shooting By School Security Officer

Trump’s order has suffered legal setbacks. Three federal courts have ruled against the ban.

An effect of one court ruling was that the military would be required to allow transgender people to enlist beginning Jan. 1.

READ MORE: Some Calif. Residents Face Losing Fire Protection Insurance After Moratorium Protecting Them Expired

The issue has divided the GOP. Some Republicans in the Senate, including military veterans Joni Ernst of Iowa and John McCain of Arizona, have objected to Trump’s ban.

It’s customary for the RNC to pass resolutions supporting the president, especially when policies are challenged in court.

MORE NEWS: LA County Reports 5 New COVID-19 Deaths; Hospitalizations Hold Steady

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast rewritten or redistributed.)