OTTAWA—For the first time, a federal judge has expressly granted Canada’s spy agency warrants to operate abroad even if it means breaking another country’s laws. Federal Court Justice Simon Noel authorized warrants for the Canadian Security Intelligence Service five months ago, but public reasons for the top secret decision were issued only this week. The…