Collateral agreements connected to illegal agreements inherit the invalidity of the main contract in many cases. They may be void (if inseparably connected), voidable (if they can be severed), or potentially valid (if completely independent of the illegal purpose). The specific outcome depends on the circumstances and jurisdiction, making 'any of these' the correct answer.