Transferring container is of course a risk, but I created a thread asking about exposure to air and nobody was too concerned about minimal exposure to it, of course this is a chemical and none of us are chemists so this is a best guess. If you want to do that then it sounds like a good plan, it wouldn't be exposed for long, just make sure there is a really solid seal on what you transfer it to, and that it's clean of both existing contents and of cleaning fluids you might have used to get rid of the past contents! Or of course if you're just using a new container then you don't have to worry about existing contents.
Getting it through customs without looking guilty though, that is the hardest part, it depends on how well you cope with lies/doing stuff wrong.