Not wanting to pay licensing fees, and therefore writing your own interoperable clean room reimplementation is both legal and moral.