Law of the land: Does a marriage prenup have any legal status in Ireland?

Farmland is a major issue when it comes to marriage and divorce because the farm is often a high-value asset, sometimes worth several million euro and there is often huge sentimental attachment to the farm.
I am getting married next year, and my parents gifted me valuable farmland that has been in our family for generations. My friend is saying that I should get a Prenuptial Agreement signed before I get married.
My parents are not suggesting that I put one in place but I feel a moral obligation to ensure the land stays in the family and I know I would feel like I let everyone if it ever had to be sold because of a divorce. I have heard they are not even recognised in Ireland, so I am not sure what the point is, even if she was happy to sign it.