Use "in flagrante" in a sentence

1. This girl has been caught in flagrante in this officer's bedroom.

2. b) When the person in possession of the licence has been caught in flagrante delicto