You're expected to follow your divorce judgment.

I can't tell you what will happen if you go to Costa Rica. To find that out, you need to consult a lawyer in Costa Rica.