As far as the theory goes.
If you are tied up in the property and your sister is not supposed to live next to your ex, you will have to pay him out. This is difficult for most people, so a sale is imminent.
If the properties are divided, then the sister is irrelevant in case of a separation. To put it extremely: if the ex then wants to live next to her, with her, or alone on the other side of the world, then that’s just how it is and no one else’s business. Trying to prevent something like that is childish. You can only regulate the financial ownership of the house, which does not at all mean he has to move out immediately. He can actually stay living in your house at first, if moving out would be "unreasonable." But that’s just a side note; these legal extreme cases are rare.
I think you will end up with a classic marriage contract that takes the €100,000 out of the accrued gains and regulates the retention or sale of the house. Beyond that, the community of accrued gains is supposed to remain? Will the man be involved in the financing and be entered in the land register?