As I understood it, Harry was well prepared to pay for his own security, but the powers that be refused to let him do that; and they refused to supply security for him; or to let him pay the cost of security they could have supplied.
that’s why he went to court - to try and get that all resolved.