Vladimir Naumov said that the prosecutor general had sanctioned a search of the diplomat's house, where pornographic materials were found.
"We confiscated the pornography materials and opened a criminal case against the diplomat on charges of distributing pornography," Naumov said.
The Latvian Embassy in Belarus said in turn, "The search in the diplomat's house was a gross violation of the Vienna Convention [on diplomatic immunity] and international agreements."
The Belarusian Foreign Ministry said that the case would be decided under national legislation and international agreements between Belarus and Latvia.
The incident is the recent in a string of cases involving foreign citizens and diplomats in Belarus. Earlier this year two Russians and Mariusz Maszkiewicz, Poland's ambassador to Belarus from 1998 to 2002, were sentenced for 15 days detention for attending unsanctioned protests against President Alexander Lukashenko's landslide election win on March 19.
In April foreign ministers of the 25 European Union member states put Lukashenko, whom Washington has dubbed as the Europe's last dictator, and 30 other Belarusian officials on a blacklist that bans them from entering the union.