If the police have told you not to remove the stakes, it is wise to at least consult a local lawyer before pulling out the stakes, so that you can understand and accept the full consequences.

You may find these statutes to be informative.