An Ontario court struck down three key provisions of Canada 's secrecy law on Thursday and harshly rebuked the police for using them to intimidate a reporter whose home and office were raided by the Royal Canadian Mounted Police .