It is weird that Rivera would frame it that way.
Solving P vs. NP while balancing one foot on a volleyball as you're making Baked Alaska is a "complicated situation". This probably isn't complicated at all. He was obviously just doing something that an employee ought not be doing.