Back on topic. This isn't about going into a restaurant or a bank. It was a meeting with the President of the Dominican Republic. President Abinader is the representative of the Dominican people, and a chance to meet with him should be treated with respect.
You show respect to the office, especially if you're a visitor there. Vin Diesel has assistants, I'm sure, who could have asked what the dress code was. Even if he didn't, it's a function of common sense.
The only thing that might have made sense was if the President did a surprise visit while Mr. Diesel was on set filming. Otherwise, grab some trousers, long sleeves, and a light jacket unless specifically told otherwise.
It's probably no surprise to most that I'm not a fan of Former President Trump. But if I was invited to meet with him, and accepted, I'd dress appropriately, and would expect any and all other visitors to do the same. That should apply to all heads of all other countries, including the DR.
Respect. It's that simple. Holding oneself to a higher standard.