
Bang to rights
British Origin
The phrase is specifically British and used in UK contexts, not commonly understood by American English speakers. 
Unmistakable Guilt
Use the phrase to express that someone’s wrongdoing is clear and uncontested, akin to being caught in the act. 
Colloquial Usage
It’s informal slang, suitable for casual conversations but not for formal writing or speeches. 