Well, they are not doing it directly but indirectly.

See for yourself:- http://www.dailymail.co.uk/news/article-3525528/Judges-say-ignore-pre-nups-unless-couple-rich-Warning-majority-agreements-waste-time-courts-instead-base-decisions-fairness.html

At this rate, the only way to stay safe as a man, is not get married or not cohabit with a woman.