You can run multiple instances of Dominions on your computer. For this test, you'll need multiple installs as well.
Start one, start a Network game, using the mods from this game.
Open a separate instance of Dom3, and log into your own server, from your second install.
Run a few turns of the game, then close the second instance, swap in your altered .dm file, and log back in. Check to see the banners are changed, and End Turn to confirm that it will resolve.
If the turn runs, the fix works, and should be 100% safe to use with Llamaserver.
Then you can post your results, and everyone will adore you for finally proving that it is viable.