Josephine Santos / 1 / 5
Josephine Santos / 1 / 5

Could Spencer Pratt be headed to the slammer?

The former MTV reality star was arrested in Costa Rica Saturday for illegal possession of a firearm on his way back to the U.S., according to The site reports Pratt, 27, was booked at a local jail and then released.

"Costa Rican jail smells like children's tears. And soup. Delicious soup," Pratt Twittered after the news broke Saturday afternoon. "If I knew the gov't was Team Jacob, I would've kept my mouth shut."

The reality star, who spent time in the Central American country with his ex, Heidi Montag, in 2009 as part of NBC's "I'm a Celebrity ... Get Me Out of Here," offered a bizarre statement to TMZ with additional details surrounding his arrest.

"As part of my spiritual cleansing I've spent the last week living alone in the jungle, reflecting on my past transgressions, and working to become a better person. I had to live off the land, and hunt to survive," Pratt is quoted as saying.

"As I departed the country this morning to continue my spiritual journey, I mistakenly brought my hunting weapons to the airport. It was an honest mistake, and they sent me on my way," he adds. "On an unrelated note, I'm not allowed in the country anymore -- but that's because of the chicken incident."

Pratt's arrest comes on the heels of a public apology made to wife Montag, who recently filed for divorce after a year of marriage.

In an email to the Associated Press, Pratt says his behavior in the wake of their alleged breakup -- including his threat to release a sex tape -- was "outrageous and infantile."

More on Wonderwall:

What's Spencer's spirit animal?

Unsolicited advice for the "Hills" cast

Speidi's second wedding scrapbook

More from UsWeekly:

VIDEO: The week's top celeb headlines

VIDEO: Is the Speidi split just for show?

PHOTOS: Other stars who had drama-filled summers