Correct

知法犯法

/ zhī fǎ fànfǎ /
Strokes

Definition

to know the law and break it (idiom); consciously going against the rules

Example

Definition

deliberately violate/break/flout the law

1
shì
jǐngchá
警察
  
,
zěnme
怎么
huì
zhīfàn
知法犯法
ne
  
?

Surely, as a cop, he couldn't have broken the law deliberately.