There’s no legal document because nobody was dumb enough to think that in the first place. If you have to write a law for everything people are allowed to do because some twat wants to argue in bad faith, then the legal system has no basis in reality. In fact, if that were the case, then there is a chicken/egg problem with laws in the first place.