This is the best case for a CEO/CTO relationship.
The CTO shouldn't be writing code, it's too low leverage. But they must be ABLE to write the code at least 80% as well as the best person actually writing.
The CEO should be speaking with all of the key stake holders, and then having strategic conversations with the CTO as equals