(Mandatory) marriage registration in one's country is in fact a topic in itself. And now this discussion gets hidden a bit into a KITAS question, which is a shame. Not to be difficult but to make the picture complete:
If you are free to marry then the marriage is legal in Indonesia and in your country as well.
Nope. If you are free to marry, it does not mean your marriage itself is legal. It could be you are younger than 30, then the parents need to approve. And in one country it can be legal to marry at 16 or so, but not in the other.
In almost all European countries, it is mandatory to report your foreign marriage if you want this offshore marriage to be valid in your home country. Anglo-Saxon countries usually do not require reporting (UK, Australia, US is optional I think).
Belgium: Il est conseillé de faire transcrire l'acte de mariage étranger dans les registres belges de l'état civil.
Ce n'est pas obligatoire mais c'est plus facile et moins coûteux pour obtenir des copies ou des extraits de l'acte par la suite.
Netherlands: U kunt een buitenlandse akte inschrijven in de registers van de burgerlijke stand van de gemeente Den Haag. Dat kan met een geboorteakte, huwelijksakte, partnerschapsakte of overlijdensakte.
U bent niet verplicht om uw buitenlandse akte te laten inschrijven bij de gemeente. Doet u dit wel, dan kunt u daarna een afschrift of uittreksel in Den Haag opvragen in plaats van in het buitenland.
Germany:
Eine Registrierung Ihrer im Ausland geschlossenen Ehe bei Ihrem deutschen Standesamt ist nicht vorgeschrieben. Auf Wunsch können Sie jedoch bei dem für Sie zuständigen deutschen Standesamt einen Antrag auf Beurkundung Ihrer im Ausland geschlossenen Ehe im Eheregister stellen, wenn mindestens einer der Ehegatten Deutscher ist.
Should I continue?
Anyway, I've seen cases where the marriage was not registered in the home country of a spouse. And it the time it was still mandatory to do so. But later -for inheritance purposes- the marriage did get legally accepted by the authorities and the surviving spouse did get the recognition.
Point was, Imigrasi want to be sure that your marriage is valid and by showing the registration in your home country you can prove this. For countries that do not require registrations of foreign marriages embassies usually issue letters that the marriage is valid per se without registration.
Agree.
.