одеваться соответственно случаю
to choose clothes suitable for a particular event
I try to dress for the occasion, so I would wear a suit to a formal school ceremony.
We dressed for the occasion by putting on smart clothes for our grandparents' anniversary dinner.