The key word here being "democratically." If the Jewish minority in Palestine in the 1940s had somehow managed to convince Palestinians to vote for their own dispossession, then sure, I guess.
But the "character of a nation", again, is so poorly defined (and even when defined so rarely adhered to) that the question of maintaining it is basically meaningless. It seems that you're conflating laws and some kind of ineffable "character".
So yes, I think broadly speaking, countries should be able to democratically decide whatever laws they want, but the obvious and essential limitation is where those laws infringe on the rights of some citizens
I don't think, for example, that a country should be free to democratically legalise slavery. Or the expulsion of Jews, say. Human rights, loosely speaking our understanding of "fairness," sit at the top of all other concerns as far as I'm concerned. This, for example, is why I oppose sharia law.