Of course you should only publish with a legal version of an engine since a serial is embedded which allows to figure out the owner.
But with images, sounds, models and so on. How are you supposed to know if your freelancers use legal software? They could simply lie to you. It's not your problem. If you want to be on the safe side then simply resave everything with gimp and blender or MED before you distribute your game.