It’s not automatic, it requires applying and at times can take years of proving in terms of paperwork, that is by definition not automatic.
I have personal experience with the Greek, German, and Italian systems, prepare your self for 1-2 years to gain it even if you have rights to it.