Guard disguise

So i just tried to fool the guards by wearing the same gear they do even killed the guard after luring him away from everyone and it didn’t work they still knew it was me and arrested me for a prior crime. I was testing weather or not it would work and clearly it doesn’t but why not? If we can impersonate a cuman why not a guard?