Perfectly safe. I've not had any issues with it since I made it. I doubt anyone else will, as long as they understand where the limiter is, and where the "auto choice" is. (That is, the slot of music the game chooses if the trainer has a music byte outside the length of the table)
EG, your music table has 44 entries, and your trainer has music ID 90, the game will load music slot 3 as standard, a failsafe to prevent crashes.