department of legislation and the environment