But basically now that it's confirmed those kinds of applications work on PR1.3, I should be able to abuse the loophole with an even uglier hack: I have to move the code to a separate executable that sets flight mode on/off, and that executable is called from ProfileMatic. Very ugly, but should work.