Prince Harry will be given "limited police protection ... when in the UK. He was contesting a decision to downgrade his security status when he stopped being a working royal.