Pull the difficult teammate aside, one on one, no audience. Most attitude is performance, and performance needs a crowd.
LEADERSHIP
LEADERSHIP
Behaviour that looks like defiance is often aimed at the people watching rather than at you. Remove the audience and the same conversation usually turns reasonable within a minute, sometimes to the surprise of both of you. It also offers a way to change without losing in public, and losing in public is the thing most likely to keep someone stuck.
Ask for two minutes somewhere else and open with a question rather than a correction. Say what you have noticed with no adjective attached. Give them a route back that does not require an apology in front of anyone.
Who acts completely differently around you once the audience leaves?
Free, with nothing to buy inside it.