It is no defense to a prosecution under this Section that the offense
attempted was, under the actual attendant circumstances, factually
or legally impossible of commission, if such offense could have been
committed had the attendant circumstances been as the person believed
them to be.