In a legal sense not emotional sense although it will be depressing if you become falsely accused.

How do these situations get resolved? In US or UK/European law? and how do you prove your innocence in such a situation? does it go to a judge and jury?

I would like to know incase I ever end up in that situation its good to know the law since these false accusations account for 30% of rape reports! could even be higher :(