The tabloid publisher took along a special guest, Kacy Grine, a French businessman who advises one of Saudi Arabia’s richest men and sometimes acts as an intermediary between Saudi Crown Prince Mohammed bin Salman and Western businesses.

The two men and other Pecker associates chatted with the president in the Oval Office and briefly met with Mr. Trump’s son-in-law and Middle East envoy, Jared Kushner. Before moving on to dinner with the group, the president had a photographer snap pictures of the guests standing with him behind his desk.

Mr. Pecker has long used his media empire to protect Mr. Trump’s image. During the 2016 presidential campaign, Mr. Pecker’s company, American Media Inc., suppressed the story of a former Playboy model who claimed to have had an affair with Mr. Trump.

The night of the dinner, Mr. Pecker got something from Mr. Trump: an unofficial seal of approval from the White House.