The US has software patents. The EU has GDPR. China has rampant IP theft. Russia has corruption. Every large market has peculiarities, it's the cost of doing business.
So does the EU [1].
"The European Patent Convention states that software is not patentable. But laws are always interpreted by courts, and in this case interpretations of the law differ. So the European Patents Office (EPO) grants software patents by declaring them as 'computer implemented inventions'".