This fixes an issue with clef, which already transforms the signature to use the legacy 27/28 encoding. Fixes #20994