Nine young Australian men who were arrested after stripping down to their swimwear at the Malaysian Formula One Grand Prix have been set free.

They were released with a caution after apologising in court for their actions for taking off their clothes to celebrate the victory of their compatriot, Daniel Ricciardo.

John Walker, whose son was one of the arrested men, said they were sorry for what happened.