Specifically with Mother Beast Lusamine's battle.
In the Battle Tree it does work (In Pokemon Moon, though. Not sure if that means anything). When battling her in the actual story, however, it just plays the normal song as if I never changed it.
Any idea why this happens and how I can fix it?