WASHINGTON – President Donald Trump's declaration that he intends to keep all current prisoners at the U.S. Navy base in Guantanamo indefinitely is being used as justification by legal advocates that the courts must intervene on behalf of the 41 remaining detainees at the military prison.

A group of lawyers, former government officials and activists gathered in Washington on Thursday to present a new legal petition that would bring 11 men imprisoned at Guantanamo to court if successful. They say the shift in policy — from President Barack Obama's unsuccessful promise to close the prison to Trump's campaign promise to "load it up with some bad dudes," along with unsuccessful attempts to institute a ban on immigrants from certain Muslim-majority countries — does not have a legal basis and is instead rooted in a hatred toward Muslims.

The courts must step in to act since the Trump administration has no intention of doing so, lawyers said.

"Given President Donald Trump's proclamation against releasing any petitioners — driven by executive hubris and raw animus rather than by reason or deliberative national security concerns — these petitioners may never leave Guantanamo alive, absent judicial intervention," the petition reads.

The Center for Constitutional Rights, a liberal-leaning legal advocacy organization, filed the legal petition on the 16th anniversary of Guantanamo's opening. The group also organized a protest near the White House on Thursday.

"It's clear that a man who thinks we should waterboard terror suspects even if it doesn't work, because 'they deserve it, anyway,' has no qualms about keeping every last detainee in Guantanamo, so long as he holds the jailhouse key," said CCR senior staff attorney Pardiss Kebriaei, who represents Sharqawi Al Hajj, one of the 11 prisoners included in the filing. "Another three or seven years under President Trump may mean a death sentence for men like Sharqawi Al Hajj, who is in poor health and damaged by past torture."

Advocates described Trump's Guantanamo policy as a "deep freeze," in contrast to former presidents Obama and George W. Bush, who kept the prison open but allowed many to leave during their time in office. They say Trump's policy violates his authority under the ongoing 2001 Authorization for Use of Military Force, which permits detention solely for the specific purpose of preventing the return of prisoners to the battlefield.

And Trump's campaign pledge to not release any detainees during his administration creates an arbitrary additional term of detention for four or eight years that does not have any legal basis, the advocates said.