If you want to work in the patent office, you need to take the national civil service examination and the written interview of the patent office.
After entering the patent office, it does not belong to the civil service establishment, but some benefits are civil servants.