Novak Djokovic and Rafael Nadal took a break from tennis to shake hands with the head of Thailand's ruling junta on a promotional trip to the military-ruled country that mixed sports with politics.

The No. 1-ranked Djokovic and his longtime rival Nadal were in Thailand for a sold-out Friday night exhibition match dubbed "Back to Thailand."

The event was organized by local authorities to boost confidence in the country's safety after a deadly Aug. 17 bombing that left 20 people dead and more than 120 injured.

Before the evening match, they were led to a variety of photo opportunities, including a visit to the Erawan Shrine, the site of the blast, the ornate Grand Palace and a visit with the junta leader, Prime Minister Prayuth Chan-ocha.