sounds like a culture and management problem. CTO should set clear expectations for his staff and discuss with product to ensure there is alignment.
If i was CTO I would not be happy to hear my engineers are spending lots of time re-writing and testing code written by product managers. Big nope.