Leaving aside your lead-up to the question, as I said, with a substantive piece of legislation such as this one, not only the Department of Justice but other departments involved in the production of the legislation, central agencies, and certainly because of the magnitude of this piece of legislation, the Prime Minister's Office would certainly have been privy to this proposed legislation.
On June 9th, 2016. See this statement in context.