The problem is that law is a malleable mater and not all interpretation and use should be accepted, there is the spirit and the letter (don't know if it's an usual expression in english).
Dunno muchabout the US tax code but in the french tax code when there is a tax break there are practical conditions and an information intention / context by the legislative assembly in the law project. If french deputies create a tax break to incentivize research and you use it to get a tax break given investment in infrastructure not at all linked to any research, even if you match the practical conditions it's considered an abuse/diverting of the law and the french tax administration can completely cancel your tax break and you'll have to sue them in our administrative justice branch to change their decision.
That sounds like a nightmare for the business owner, and a huge boon for the legal industry (aka lawyers). Uncertainty/ambiguity in law is poisonous for someone trying to operate in the law, and that goes for everyone from big corp to individuals just trying to function in society.
"spirit and the letter (of the law)" is a common phrase in English. For the next part IANAL.
It appears in the US that generally the letter of the law matters more in legal proceedings than the spirit of what was written. Though there is sometimes debate (especially around the constitution) as to what the words meant at the time the law was written which give a little legal freeway to the spirit. From what I have seen though these cases generally deal more with rights/civil liberties than laws which affect corporations/tax codes/processes/etc. There is greater freedom to interpret the spirit of the law in criminal cases (e.g. jury nullification).