The first lady knows her fashion — and how not to mess up a meeting at the Vatican with the wrong outfit.

Melania Trump, a former model, opted for a veil and a long-sleeve black dress from Dolce and Gabbana that fell over her knees for President Trump’s first face-to-face meeting with Pope Francis on Wednesday.

Trump’s daughter, Ivanka Trump, also wore a black veil and a long, dark dress.

Both women were faulted for not covering their heads over the weekend when the president visited Saudi Arabia, where women are required to remain covered while in public.

The first lady’s spokeswoman said there were different protocols in place.

“Per Vatican protocol, women who have an audience with the Pope are required to wear long sleeves, formal black clothing, and a veil to cover the head,” Stephanie Grisham said in a statement to several media outlets.

There was no such protocol in place during the Saudi Arabia visit.

The US Embassy to the Vatican lists the appropriate dress code for a visit.

“No shorts, short skirts or sleeveless shirts when entering St. Peter’s Basilica or when attending a Papal event in St. Peter’s Square,” it says.