In short Ledger dimension it is Main account + default dimension.
So, if you need to replace any attribute value in a given Ledger dimension, do not forget to get a Default dimension first.
Then you can use this old good way.
BTW, the opposite thing works like that:Supporting method
Bigger usage example