Right, “sentient weapon “ observation response Dept.
They don’t probably have the authority to Weapon-ize the Vision, just managed the storage and or the disposal of such tech. They were disassembling him at that point, he tells Wanda that she can’t just straight up bury 3 billions worth of vibramium into the ground.He didn’t say anything about bringing him back online. The idea that he wanted to bring Vision back online was his secret plan. It’s why he wants to pin Vision coming back online on Wanda.
For convenience that I chop it up as bad writing, we only had to go off Agent Woo's statement of reviving and going against Vision's so-called "will" is against the Accords. I say that, because it was never addressed or even the intent of the Accords when it was presented in Civil War. The purpose of the Accords previously was to monitor and control the missions of the Avengers due to the messy and collateral damage (courtesy of Wanda). For Marvel which been historically good at making the dots from previous films connect in order to have continuity and logical situations, the whole Vision having a WILL and the whole a law specific to Vision is something these writers of WandaVision just come up with out their asses just to justify why Director Hayward is a villain.
And again they spent 5 years, which that in itself is a plot hole as to how for 5 years they supposedly kept it as a secret as to having Vision and doing whatever they want to vision. And the main plot hole in that is how'd Wanda know where Vision was LOCATED if it was a secret that SWORD was holding Vision? But being that this supposed to be a Sentient Weapon Observation Response Department, disassembly or assembling Vision is a moot point, but the fact he was ASSEMBLED ANYWAY with the need to source Wanda's powers to activate the reassembled Vision, it makes no sense to assume they were disassembling Vision when Wanda came to visit. Why you think Hayward let Wanda come down there to see if she revive him and she said she feels nothing. Why you think when she said she came to bury Vision, Hayward told her he doesn't believe that's why she's really there? He WANTED Wanda to revive Vision so they have a sentient weapon for the same exact reason why Tony created Ultron.
It doesn't make sense, narrative-wise, why reviving Vision is unauthorized, despite the very ideal was originally in Infinite War about the possibility of Vision to be alive without the mind stone. When did the United Nations or the United States at least recognized Vision as a living being and not an android and recognized his civil liberties and "human" rights?
I say all that to just to point out how ridiculous to rationalize how Hayward is a villain based off a made up law that was convenient for this series, but inconsistent to everything from the MCU.