No. For a neanderthal leadership it doesn't take months to recreate code. It usually takes forever.
Goldman Sachs and many such large corporation, including the US Government, are led by a bunch of dinosaurs. People who do not understand what code is.
What they understand instead is bullying, setting an example like some sort of public execution, owning people to the point of slavery etc. They know what it means to prosecute and destroy lives of individuals. And enjoy parties and drinks on the side in the evenings.
And this is just one example of that tyrannical trait.
Except it takes months to recreate code. Much easier for you to walk up to your boss and show them a working prototype after a week of refactoring.