Nobody is going to learn all the laws of a country. When the laws/custom of a country are so different than yours that a trivially legal act in your country becomes highly illegal in that country you should avoid that country because who knows what else you'll do that'll get you into trouble.