So if you use the trainer to get enough culture to buy all the policies, and then build a wonder which gives you a free policy, your game is ruined.
You will be stuck with the "pick new policy" option, but no way to bypass it. You can't force your turn to end, and you can't pick a policy.
Would there be some sort of way to edit your policies so you can remove one to add the free one?
I usually avoid picking policies until after I've gotten all of my wonders built.