Because it is not other work.
She is member of the board member of the Bank of International Settlements ex officio, because she is President of the ECB board.
If she takes double salary is because she is greedy, not because law is unfair to ECB employees.