The U.S. Supreme Court will consider how much authority judges have to order disgorgement for trademark infringement under the Lanham Act, agreeing to determine whether the profits of a defendant’s affiliated companies that are not actually parties to the case are nevertheless fair game.

The justices on Monday agreed to hear Dewberry Group v. Dewberry Engineers, a trademark dispute between companies with similar names that both provide services to commercial real estate firms in Florida, Georgia, South Carolina and Virginia.