Claims that a former deputy police commissioner was sacked because of his policing advice to the government have been branded as "baseless" by a premier.