Anon was caught fairly quickly after the little stunt he pulled with the time freezing spell and Celestia. Of course, he went to court, and was convicted of raping one of the Princesses of Equestria. Being the honest soul he is, he pleaded guilty to all charges, and that he should be "sent to the dungeons along with the rest of the scum of Equestria," and started sobbing quite loudly, but after a quick private talk with her sister, instead of fulfilling his wishes, she ruled that he be sentenced to serve active duty in the night guard by Luna's side, who will reform him.
After about a year of training practice, and drills with his fellow recruits, he was finally placed beside Luna in his shiny new royal night guard uniform, ready to do whatever the princess asked to the best of his ability. Of course, he arrived in the midst of her own enhanced heat, so as a completely bullshit initiation ritual to be her personal guard, he has to have sex with her.