Sort of.
State security is privy to classified information and intelligence re: threats that private security won't be.
It does not necessarily follow that H would be made privy to that information.
What it does mean is that H's security needs are currently reviewed/assessed with the latest intelligence reports in mind and also in conjunction with what he is doing/where he is going whilst in the UK.
If he is assessed as needing security, he will get it to level that reflects the threat assessment.
However to get this he needs to give notice. He can't just rock up and expect to do "whatever". He has to provide dates/locations etc etc.
Before he left this was not an issue. He had 24hr security on demand. The thing is that was planned for and he was out and about in the UK a lot.
To maintain that now The Met would need a protection team on standby just in case he decided to grace the Uk with his presence.
Most of the time doing sweet FA as he is not here and that would divert resources from people who need personal security right now, here in the UK (and it's not all royalty, diplomats, politicians etc it can be ordinary people whose found themselves in awful situations that lead to consequences such as witness protection).
It's perfectly reasonable to say he needs to give notice if he wants state security.
Why do people think royal visits abroad are often planned years in advance? It's so the itinerary can be addressed and security can be planned in conjunction with local state security teams.
H's "local" state security team, as per his choice to live in the USA. is no longer in the UK. So they need to be liased with and given notice of any visit. Perfectly normal.
Given he is not a US citizen he is not eligible for US state security.
The court documents make clear that much of this was made clear to H re how his security was likely to change.
What H wants is to have his cake and eat it.
He either didn't understand what he was told or thought the rules didn't apply to him.
From the judgement re: communications to the Cabinet Secretary about him escalating matters I think the latter.
Finally re: the comparison being Andrew I very much doubt that. Andrew doesn't have 24hr security and I don't think even H would be stupid enough to align his situation with that of his Uncle.
The only person he would feel on par with is William and Spare lays bare his resentment from the title onwards about being the younger sibling.
But as per my post above that is not comparable whether he likes it or not.
Fighting the perks of primogeniture whilst still hanging on to your own title and that of your child just makes you look like a dick.