Isn't that true for almost everything though? The laws are so complex that no normal citizen can understand them. Even lawyers seem to disagree now and then.
No, the laws are complex when dealing with complex situations and ownership graphs of companies can be basically any finite directed graph.
But obviously most ownership is a simple two node thing with a single directed edge connecting the nodes. These are simple to decide if they are legal.
Unfortunately, law can still be complex in what seems like a simple situation. Statutes aren't exactly written with strongly-typed languages or run against integration tests before being passed. Laws are often vague and difficult to precisely interpret, and they usually have unintended consequences. This is true regardless of the complexity of the situation to which the law is applied.
Add to this words attributed to Napoleon Bonaparte: "A Constitution should be short and obscure."
Tax raids are often a symptom of such legislative tradition where laws are written so as to allow authorities to apply loopholes to get their way (as opposed to loopholes for citizens or companies). In my country (Finland) there are practically none, and the tax collection procedure is very effective. This amount of control comes at a price, of course; regulation is predictable but there's a lot of it (and recently the development has been towards more and more rapid and unpredictable changes, often somewhat to do with how to apply EU regulations).