That is really a very simplistic view of the real world of real estate. For example, in 1983 when I bought a Houston house, I read every scrap of paper involved in the transaction. (Title company closers call us "readers.") The faded Nth generation copy of the deed restrictions ("an agreement between two private individuals") had horrific language about not allowing those of other than the white race to live in the property (unless in servants quarters). By that time, that language had been neutralized by the Supreme Court, but there was a good period of time where it had legal force but had to be ignored by those of good conscience. George W. Bush got the one news cycle treatment about that as the same language was in the deed restrictions he signed, as well as in many subdivisions from that era. That language carries on in the record forever.
The distinction between the two is very relevant vis-a-vis your response to 'tptacek. The terms of a lease contract are freely bargained-for between buyer and seller in the present day. Because contracts cannot bind non-parties, they will only contain provisions that at least one party considers meaningful. However, a covenant is not freely bargained-for between buyer and seller in the present day. Both the buyer and seller may be bound by provisions that both believe to be antiquated (like covenants not to sell to particular minority groups).
If you think a contractual term is antiquated, you're free to bargain with the seller to have it eliminated. With a covenant provision, however, both you and the seller might be stuck with what someone wrote-in decades ago.
So my point isn't that the black letter language of any contract must in all cases stand up in court. My point is that the restrictions in leases that block Airbnb will stand up, because despite the relative novelty of Airbnb, the lease restrictions they butt up against aren't obscure. They are central to the tensions between renters and landlords and thus well-tested.
Also: if someone puts a contract in front of you that requires you to discriminate against African Americans: no, I don't think you can ethically sign it.
Again, you make a simplistic statement that ignores the real world. When social systems are realigning, there is a period when you ignore the plain terms of the contract because you know people aren't enforcing it anymore. Whether that is happening with AirBnB or not is not my point. My point is that it is really easy to make a blanket statement about being ethical in contract law. The chance of that statement actually being the "ethical" choice in all cases is, effectively, zero. The real world is much too complicated to reduce it to the logical exactitude you are claiming.
Sorry, but the Internet has not in fact rewritten every rule that is somehow inconvenient to people on the Internet.
While some cities will probably revise occupancy and hospitality regulations to accommodate things like Airbnb, the tension between renters and landlords w/r/t/ sublettors is quite old and quite well explored by the courts (check out your local tenants union for chapter-and-verse citations). The lease provisions that forbid Airbnb will stand up in court.