I'm currently in a situation (I'm a technical leader) where the client has changed the source code itself and I'm being asked to accept the changes and continue working on that version. Technically, he owns the code, but he decided to make a change and did not alert me.
His changes follow no convention, no good practice and have made a change in the data structure due to a reporting obligation.
My boss told me to accept and handle it. I answered him by asking why I should impose any norm on my team if a customer would simply ruin everything we've gone to great lengths to maintain the code quality.
The customer has recognized that he would accept to undo the changes, but data was already created with this change, and reversing the changes would mean they are lost.
Regardless of the details, my question remains. Should I accept the fact that the client has changed the source code and I need to continue with it, or should I stick to the standards of the team and refuse to continue.
Edit: I researched the matter, but I found only source code ownership issues.