EMH Standard when?

And if I remember correctly the Federation did not grant him the same rights as a citizen, when he went to court for his Holonovel.

That’s true. And as you can see in PIC this clearly did not change.