The fair-play contract with the reader
A fair-play mystery obliges the author to show every fact the detective uses before the detective uses it, so the reader could in principle reach the solution first. The puzzle's legitimacy depends on this. A solution that relies on hidden information breaks the contract, however clever it is.