MIAMI — A U.S. federal judge ruled Monday that she lacks the authority to halt the force-feeding of prisoners on hunger strike at Guantanamo Bay, while pointedly noting that the practice appears to violate international law and that President Barack Obama can resolve the issue.

District Judge Gladys Kessler said previous rulings already established that the court lacks jurisdiction to stop the force-feeding of prisoners during the ongoing protest, rejecting a motion for a preliminary injunction sought by a Syrian held at the U.S. base in Cuba.

Kessler faulted the military's response to the hunger strike, noting a consensus of opinion that the use of a nasogastric tube to feed the men against their will is a violation of medical ethics as well as international prohibitions against inhumane treatment.

"It is perfectly clear from the statements of detainees, as well as the statements from the organizations just cited, that force-feeding is a painful, humiliating and degrading process," she wrote.

The judge wrote "there is an individual who has does have the authority to address the issue," and then quoted a recent speech from Obama in which he criticized the force-feeding of the prisoners at Guantanamo as he said he would renew his efforts to close the prison.

Attorneys for the prisoners were deciding whether to appeal her ruling. They are also awaiting the decision of another judge at the district court in Washington who was considering motions filed by three other prisoners.

"This is quite a statement from a federal judge," said Jon Eisenberg, one of the attorneys who filed the motions. "She said that force feeding violates international law and medical ethics and she has called on President Obama to do something about it, which is really amazing."

A Pentagon spokesman, Army Lt. Col. Todd Breasseale, noted that the president has also said the government would not allow prisoners at Guantanamo to harm themselves. The Department of Defense remains committed to that policy.

"We will not allow them to commit suicide," Breasseale said. "Not with hoarded pills, not with hand-fashioned weapons, and not via self- or peer-imposed starvation."

The judge's decision is expected to aid a global campaign in support of the hunger strike. As part of that effort, the British rights group Reprieve released a video Monday in which musician and activist Yasiim Bey, previously known as Mos Def, is strapped down and fed through a nasal tube to call attention to the protest. He squirms in pain, begs for the feeding to stop and breaks down in sobs.

A lawyer for Reprieve is also co-counsel in the motions seeking the injunction to stop the force-feeding.

Lawyers for prisoners say the most recent hunger strike began in February as a protest of conditions and their indefinite confinement at the U.S. base in Cuba. The military says the hunger strike began in early March and that, as of Monday, 106 of the 166 detainees met the criteria to be declared hunger strikers, a definition that includes missing nine consecutive meals.

Prison medical officials have determined that 45 of the prisoners have lost enough weight that they can be fed liquid nutrients, by force if necessary, with a nasogastric tube to prevent them from starving themselves to death. The U.S. military intends to feed all prisoners, including those on hunger strike, before dawn and after sunset during the Muslim holy period of Ramadan to accommodate the men's religious practices. Military officials have said the feeding process is not painful and only done to prevent any of the men from dying, not as punishment.

Also on HuffPost:

Loading Slideshow...
  • Guantanamo Guard Tower

    Located between Guantanamo's Camp Five and Camp Six.

  • Guantanamo detainee received physical therapy

    A skinny Guantanamo detainee receives physical therapy on Tuesday, April 16, 2013.

  • Empty cell block

    A cell block at Guantanamo's Camp VI that had been occupied until a raid on April 13, 2013. One detainee had written "stop tortur us. stop desclate our relgion" on the wall of his cell. The officer in charge of the facility said that detainees had hoarded all types of materials in the communal area.

  • Guantanamo Camp VI video feeds

    A Guantanamo guard looks over a video screen at Camp VI at Guantanamo in April. Detainees had blocked 147 of the prison's 160 cameras, according to a military official.

  • Weapons

    Water bottles filled with gravel were amongst the weapons officials said they confiscated from detainees after the raid in April.

  • Weapons

    Other weapons included broom sticks and shanks.

  • Occupied block

    A guard checks on detainees in a sparsely populated block of Guantanamo's Camp Six in April.

  • Guantanamo Medical Facility

    Military officials show journalists the room where some detainees were being force fed during the ongoing hunger strike at the facility.

  • Force Feeding chair

    A restraining chair used to feed detainees at Guantanamo.

  • Cans of Ensure at Guantanamo

    A guard displays cans of Ensure used to force feed detainees at Guantanamo.

  • Detainee handprint

    A handprint is shown on a Camp VI cell block that was occupied by a detainee until a raid in mid-April.

  • Detainee shoe

    A shoe from a detainee left on the now-empty cell block.

  • Shower camera

    Cameras are everywhere in Guantanamo's Camp VI, even inside the shower.

  • Cell block

    The second level of an empty cell block in Camp VI as seen from below.

  • Camp VI Sign

    A sign outside Guantanamo's Camp VI.

  • Guantanamo Flag At Half Staff

    A flag flying over Guantanamo's Camp Six flys at half staff in honor of victims of Boston Marathon massacre.

  • Camp Five Guards

    Guards at Camp Five stand watch during morning prayers.

  • Camp Five Cell Block

    An empty cell block in Guantanamo's Camp Five.

  • "Splash" Shields

    Face shields intended to prevent guards from being hit in the face by "cocktails" of urine, feces and semen.

  • Water handoff

    A guard hands water to a detainee on the Bravo block of Guantanamo's Camp Five.

  • Dead Banana Rat

    A dead banana rat on the road to Guantanamo's prison facilities.

  • Sunrise By Guantanamo's Camp Five

  • Obama, Hagel On Joint Detention Group Board

    President Barack Obama and Secretary of Defense Chuck Hagel pictured at the headquarters of Joint Task Force Guantanamo's Joint Detention Group headquarters.