But Miguel Ángel Revilla, the former president of the Cantabria and current leader of the Regionalist Party of Cantabria (PRC) showed a sense of humour when the incriminating snaps went viral on the internet.
Revilla was spotted by staff from local daily El Diaro Montañes while looking at pictures of Brazilian transsexual Cristini Couto in the Spanish magazine Intervíu which routinely features nude photographs of female celebrities.
His unusual choice of reading material was also noticed by his parliamentary colleagues.
A picture of Revilla paying close attention to an unclothed girl with an acoustic guitar was immediately distributed on social networks like Twitter by unhappy constituents.
"Revilla @RevillaMiguelA busted in parliament looking at nudes while he earns public money," tweeted Jesús Sánchez.
Speaking to the Anda Ya programme, Revilla said that his own Twitter followers had asked him to comment on another article in the magazine about the former head of Caja Madrid bank Miguel Blesa.
He said that he'd asked his secretary to buy him the magazine for that reason.
"I did also notice the girl with the guitar," he joked.
Revilla then took to Twitter himself. "Fascinating report in Interviú about Blesa, I'm sure they caught me reading it..." he wrote.
Pido #interviú en el Pleno para ver el reportaje de Blesa y ¡zas!, foto noticia nacional! Menos mal que no robo!!— Miguel Ángel Revilla (@RevillaMiguelA) February 25, 2014
"I asked for interviú in the plenary to see the report about Blesa and Wow! The photo is national news! Good thing I didn't steal it..."
He then published a much more serious post on his official Facebook page under the title "Nothing to hide".
In the post, the head of the party dedicated to Cantabria's regional rights complained about the "loaded shotguns" aimed at him by his political opponents.
He claimed that "the entire PP (Popular Party) bench took photos of me and now I'm the talk of Spain. What hypocrites!"
He then went on to say "I don't steal, I don't give jobs to my relatives, I've never handled a work contract with hidden interests in my 16 years in government.
I've been subjected to three breathalyzer tests in the last year for no reason and I've had the book of my car searched. All for nothing. Maybe they'll speculate now about the naked lady in the magazine but my libidinous years are over."
He concluded: "I've committed no crime. They can do what they like. I'm not going to shut up."