Four Westerners who posed naked on Malaysia's highest peak were sentenced Friday to three days in jail and fined for obscene behavior in a public place, news reports said.

The four were among 10 foreigners who stripped naked and took photos on Mount Kinabalu on May 30. A local official has said their behavior was disrespectful to the mountain, which is believed to be sacred, and caused an earthquake last Friday that killed 18 climbers.

Dutch citizen Dylan Snel, British student Eleanor Hawkins and Canadian siblings Lindsey Petersen and Danielle Peterson pleaded guilty in a court in Sabah state on Borneo island to a charge of public indecency, The Star newspaper said on its website.

It said the women were topless while the two men were totally nude.

The court sentenced them to three days in jail and a fine of 5,000 ringgit ($1,330) each, to be followed by their deportation, it said. They will be released after they pay the fines because of the time they have already spent in jail since their arrests earlier this week, it said.

The Malay Mail online news portal said the court was told the group of 10 had challenged each other to see who could remain naked the longest in the cold.

They ignored a plea by their mountain guide not to strip, it said.

It quoted defense lawyer Ronny Cham as saying the four had suffered enough trauma and that extensive international news coverage of the incident has served as deterrent for others.

Prosecutor Jamil Aripin agreed that there was no link between the earthquake and their act but said it had outraged the local community, The Malay Mail said.

Lawyers and police could not immediately be reached for comment.

The magnitude-5.9 earthquake sent rocks and boulders raining down on trekking routes on the 13,453-foot mountain. The victims were nine Singaporeans, six Malaysians, a Filipino, a Chinese and a Japanese.

The quake damaged roads and buildings and also broke one of the famous twin rock formations on the mountain known as the "Donkey's Ears."

Sabah Deputy Chief Minister Joseph Pairin Kitingan blamed the tragedy on the foreigners for having shown disrespect to the mountain, believed by local tribes to be a resting place for the dead. He said a special ritual will be conducted to appease the mountain spirits.