A possible solution I frequently use in such cases:
Cover the transparent bar into something soft, e.g. a few layers of paper tissue and fix that part in a vise or a pliers. Tissues will prevent the tool from leaving marks on the bar. When the bar is sufficiently fixed you can simultaneously pull and carefully rotate the yellow piece back and forth until it comes off. You can use some soap to make it easier.