Ted Cruz responded to accusations that he supports banning sex toys in the wake of an embarrassing pornographic Twitter blunder.

The Republican senator from Texas told CNN he was just defending an “idiotic” law passed by the Texas state legislature while serving as solicitor general.

“I worked for the attorney general. The attorney general’s job is to defend the laws,” Cruz told the network.

“One of those laws was a law restricting the sale of sex toys. A stupid law… I think it’s idiotic.”

Cruz, who claims to be a Libertarian, said he believes consenting adults should be able to partake in whatever activities they see fit when inside their bedrooms.

“Let people do what they want,” Cruz said.

The interview took place after a staffer accidentally “liked” a pornographic video on Senator Cruz’s Twitter account.