Illegal in Germany
I say then, walk by the Spirit and you will not carry out the desire of the flesh. For the flesh desires what is against the Spirit, and the Spirit desires what is against the flesh; these are opposed to each other, so that you don’t do what you want. But if you are led by the Spirit, you are not under the law.
(Galatians 5:16-18 Holman Christian Standard Bible ©®)
If something is illegal in Germany, and not illegal in Spain, and you perform the act in Spain, have you broken the law?
If Yahweh has made something illegal in Israel, and you are not Israeli, have you broken the law?
Unless you are a Jew, the law Yahweh gave to the Jews to make them a nation (Exodus 19) is not a law to you. Still, non-Jews will be judged. Two questions, then, arise: one about living rightly, and one about being judged.
If you are led by the Spirit, you will walk in righteousness. If you are born of the Spirit, you will be judged in Christ, Who paid the penalty for your judgment.
Walk in the Spirit. Be righteous. Be awesome!