This problem you have is all on you. Housing demolition is hardly a secret.
You have no one to blame but yourself for not knowing about it.
Learn from it. Because if you make a similar mistake regarding the conditions of owning a real house (for example, not realizing that at least in some US states you can lose your house for non-payment of homeowners-association-imposed fines) you'll get no mercy from the courts.