I think that it is better to research the law of home country. In my home country an arrest is carried out because of violation of law. Probably, it seems violation of law in almost countries.
I think it would be better for you to check with your country's law. In my country, it is a breach of the law whereby one would be apprehended. I believe it would be illegal in most countries.