ham•ster gym•nas•tics
/ˈhamstər jimˈnastiks/
1. Going to great lengths to justify, rationalize, or otherwise explain away a wrongdoing or shitty action/behavior
2. A combination of both 'hamstering' and 'mental gymnastics'
My girlfriend cheated on me. She said she had a dream I cheated on her, so her cheating was justified. Except her dream happened the morning after she cheated on me. I'm surprised she didn't strain herself doing those hamster gymnastics.