I think it must be. They had to know they would get caught. Maybe they wanted to get caught.
Other options:
no subject
I think it must be. They had to know they would get caught. Maybe they wanted to get caught.