The government used notwithstanding clause, but appeal court rules judges should be able to scold it anyways