The departure of a minister over a taxpayer court legal fee drama has forced portfolios, including environment and heritage, to be reallocated.