Victory is sweet—or, more appropriately, savory—for Brazilian steakhouse chain Fogo de Chao, which prevailed on Tuesday in a visa dispute with federal immigration officials.

A divided three-judge panel of the U.S. Court of Appeals for the D.C. Circuit found that the U.S. Department of Homeland Security was wrong to prohibit any consideration of “culturally acquired knowledge” in deciding whether to grant a work visa for one of the company’s chefs.