In a Tsuna gets arrested fanfiction, it could be that a new enemy discovers a loophole in the law and uses it to have Tsuna arrested. This enemy might be from a rival family or an unknown organization. Tsuna's arrest would then be a way to start a new arc in the story. His friends like Gokudera and Yamamoto would likely be very determined to get him out. They could start their own investigation, and in the process, uncover secrets about the enemy and the legal system in their world. It could also lead to Tsuna making new allies within the prison or among the legal authorities who come to believe in his innocence.
Yamamoto would be more level - headed. He would first try to find out the details of Tsuna's arrest. He might talk to the police or other authorities to see if there's been a misunderstanding. He'd also be a source of support for Tsuna's family during this tough time.
One possible plot could be that evidence of her illegal use of power and abuse in Hogwarts is finally uncovered. Maybe a student bravely comes forward with proof of her cruel punishments and false accusations. This leads to the Ministry of Magic having no choice but to arrest her.
One possible plot could be that mankae is wrongly accused of a crime. Maybe he was at the wrong place at the wrong time. For example, he was near a store that got robbed and due to some misunderstandings, the police think he was involved. So he gets arrested and has to prove his innocence throughout the fanfiction.
One possible plot could be that Dumbledore is framed for a crime he didn't commit. Maybe there's a dark wizard who has managed to plant false evidence against him. For example, evidence that he was involved in some sort of dark magic plot. Another could be that the Ministry of Magic, fearing his power and influence, decides to arrest him on false pretenses to gain more control over Hogwarts. This could lead to a lot of chaos in the wizarding world as Dumbledore has many allies and supporters who would not stand for his unjust arrest.
Maybe Ryoga got arrested for being in the wrong place at the wrong time. For example, he might have been near a crime scene just as the police arrived and due to some misunderstandings, like his strange appearance or his confused state which made him act suspiciously, he was taken into custody.
In the 'tsuna gets kidnapped fanfiction', perhaps his friends would immediately start a rescue mission. They might use their unique skills and powers to track down where Tsuna is being held.
Well, in a 'Percy Jackson Gets Arrested' fanfiction, perhaps he could be framed by a monster in human form. The police, not knowing his true identity as a demigod, might take him into custody. This could lead to a whole lot of chaos as his friends from Camp Half - Blood would surely try to break him out. They would have to figure out how to deal with the mortal legal system while also fighting off any monsters that might be taking advantage of the situation.