Taking the stuff seems crazy but I don't know the laws. You should know your rights though. If the officer asked for permission to come inside that means he didn't have probable cause to enter the home (or else he wouldn't have asked). I'd get a lawyer if I was him.