It’s also very important to remember that some countries have complicated relationships with other countries/races/religions. Your mileage may vary depending on where you’re from and the colour of your skin. As an example, I wouldn’t particularly want to have to exercise my right not to make statements in Canada if I were of indigenous descent. Same in the United States if I was Black.
And finally, it may be even more important to remember that you’re unlikely to receive consular assistance at the time of arrest. Rather, there could be a delay while people with guns threaten to shoot you with them. It’s a very good idea to do all your research ahead of time and have timed check ins with people you care about whenever you’re going to a different country. It’s also a good idea to memorize at least three key phone numbers within your country’s foreign affairs, particularly ones that will work toll free or accept charges. Even the concept of ‘a phone call’ varies between countries. As an example, I don’t know if Canadian police are required to let someone call out of country. I’m sure that many would but I don’t know about any specific policy.