A Danish man is facing charges after allegedly getting into a police cruiser he believed to be a taxi.

According to Copenhagen police, the suspect was carrying a large amount of marijuana when he got into the car.

“He received a big surprise when he realized it was actually a police car he was sitting in,” the agency reported. “The police officers were happy to see him, since he was carrying around 1,000 joints.”

Police say he could face jail time for the offense despite Denmark’s largely lenient policy on marijuana.