The costs of the proceedings shall be shared equally between the spouses. However, their agreement may provide otherwise subject to the application of provisions of article 123 of decree no. 2020-1717 of 28 December 2020 when one of the spouses is receiving legal aid.