for appearances' sake; to keep up appearances
Used when something is done mainly to maintain a good outward impression, not for substance. Often adverbial with に.
For appearances' sake, he pretended to agree.
He apologized to keep up appearances, but it wasn't sincere.