Judge sentences pair who fought with cops after mask request