Agent Environment Variables not overriding Global Variables for Pipeline jobs

Jenkins setup:
Jenkins 2.452.3

When running a pipeline job, if a variable is defined in the Global Properties on the controller, and then the same variable is overridden on the Agent environment variables, the job is getting the Global value and not the value in the agent.

This does work correctly in a Freestyle job.

Is this a known issue with Pipeline?