Canada’s Justin Trudeau took part in Toronto’s Pride parade, with the prime minister’s official photographer Adam Scotti there to mark only the second time that a Canadian leader has marched in the country’s largest LGBT event.

One photograph by Scotti — shared widely on social media — shows Trudeau crouching down to high-five a young girl dressed as Wonder Woman and holding a rainbow flag. As many quickly noted, Trudeau had got into the sartorial spirit, too — by wearing a pair of multicoloured socks.

Trudeau’s unusual choices in foot attire have already been celebrated. (He wore socks adorned with Star Wars characters while meeting his Irish counterpart on May 4). But his Pride socks carried a subtler political message. The text on the socks reads “Eid Mubarak,” honouring the religious holiday that marks the end of Ramadan, the Islamic holy month of fasting, which coincides with Pride this year.

The Trudeau wished the crowd a happy “Pride Mubarak,” recognizing the dueling events taking place that weekend.

While Trudeau was largely praised for his socks on social media, some on the right criticized him and noted that in many Muslim-majority countries LGBT people can face persecution. Even some liberal-leaning supporters voiced criticism, arguing that it was another social media savvy-stunt from a leader whose policies haven’t lived up to the hype.

The Canadian prime minister is now halfway through his term and has recently suffered a dip in his approval ratings, though Trudeau’s numbers remain relatively high compared to his similar polls other leaders, including U.S. President Trump.

Read more about: