Catalan authorities go to court over law enforcers’ actions during referendum