Notwithstanding section 609.04, a prosecution for or conviction of the crime of burglary is not a bar to conviction of or punishment for any other crime committed on entering or while in the building entered.