Yes. The court won’t follow instructions that are deemed inappropriate. A judge can void a part or all of a will that goes against the law or is otherwise considered inappropriate. A will cannot, for example, terminate someone else’s legal rights or claims.