While it does say:
> Gilmore also complained about being subject to "secret law", when the airlines and government refused to show the directive under which they were requesting ID.
nowhere does the article say the courts commented on the complaint, let alone ruled on it.
Nor does the article say anything about "Ignorance of the law is no defense when you are charged with violating a law". The reason given was instead:
> there was no constitutional violation because air passengers could still travel without identification if they instead underwent the more stringent "secondary screening" search.
I'm not saying your wrong, just that the article you offered as evidence doesn't go as far as your claims.
John’s appeal is online. Section [10] of the decision discussion describes being subject to a law he cannot have access to. The judge saw it but could not discuss it in court, with the plaintiff (John Gilmore) or even his lawyer. Also the orders (law) are agreed by the court to be arbitrary, changing day by day and being arbitrarily different between airports. But since the Airport personnel knew them tht was good enough for the court.
And though the discussion mentioned that he could take a bus or walk, the conclusion, [21], said that his rights were not violated at all, both the bus precedent and the legality of being subject to unknown law. The brief Wikipedia page mentions only the former, though the latter was the primary factor of the complaint.
Not sure if airliners are regulated like that, but 'free business' is not anarchy by any means, unlike you suggest.