if ending it has always proved to be a hassle, why not rename it and change it's function? bolsonaro could have never, constitutionally speaking, end government departments easily, instead of ending them he combined some of them that had similar functions and then basically cut public civil servant offices.
Mexico