Rules governing legal representation at the Guantánamo Bay detention center have been in place for nearly eight years now, providing judicial oversight and a road map of prohibited conduct.

But that blueprint could be supplanted by a new set of guidelines, roiling attorneys who represent detainees and prompting a legal fight in Washington’s federal trial court to block enforcement of a new policy the U.S. Justice Department is advancing.