There are books and articles, which show that this was an extortion attempt, which thanks to a biased district attorney worked.
The Mary Fischer investigation, (put her name in the seach engine and you will find it) shows just how he was set up. He did put himself in a fairly vulnerable position but as so many have said he was never alone with these boys, the media refer to a 'hotel room', that's a joke, he had either a suite or usually a whole floor of a hotel. His 'bedroom' was a two storey, three bedroom, two bathroom area bigger than the average house.
MJ's mistake was slamming the tabloids, they never forgave him.