Actually, the court would issue such an order _because_ it knows better: without it, you basically have little leverage when you try to enforce the same in the foreign country in a court that actually _has_ jurisdiction.
Here's an example where a French court issued a court order to a US firm:
Here's an example where a French court issued a court order to a US firm:
https://en.wikipedia.org/wiki/LICRA_v._Yahoo!