PINAR DEL RIO, Cuba — Pedro Pablo Oliva was the kind of model citizen the Cuban government wants to show the world.
Oliva proclaimed his loyalty to Fidel Castro's revolution, his support for its goal of social equality and his gratitude for cultural largesse that nurtured his development into an internationally celebrated painter and sculptor. He even did a turn as a delegate in the regional assembly of the western province of Pinar del Rio.
But when Oliva criticized harassment of dissidents and suggested there might be room for a party other than the Communists, he was abruptly expelled from the assembly, accused of counterrevolutionary behavior. He found himself with no choice but to shutter his home-based community workshop after the government withdrew its support.
President Raul Castro has called on Cubans to openly air their opinions as his government tries to revive the struggling economy with economic reforms. But officials have sent mixed signals about where it draws the invisible frontier between loyal criticism and what they consider to be dangerous attacks on the system.
A prominent socialist intellectual who made a sharp attack on corruption at high levels found himself booted out of the Communist Party for months. But in another case, officials just seemed to shrug when two state economists criticized the country's economic reforms as insufficient.
And while Oliva was punished for denouncing attacks on dissidents, when famous singers Pablo Milanes and Silvio Rodriguez did the same, their comments prompted debate in official media but no reprisals.
"It's a very difficult question to know where the line is, because the line depends on the moment," said Arturo Lopez Levy, a Cuban-born economist who lectures at the University of Denver.
The line has moved a long way since the early moments of the revolution, when a government inspired by blue-nosed Soviet socialism sent thousands to grueling farm work camps for religious belief, long hair, "anti-social" opinions or homosexuality. Milanes and Roman Catholic Cardinal Jaime Ortega were confined in those camps as young men. Rodriguez was removed from the airwaves at the same time for saying he liked the Beatles and hanging out with people the government considered suspicious.
Things have changed enough that Milanes and Rodriguez were later given seats in Cuba's national parliament, and Ortega sometimes has meetings with Raul Castro, whose own daughter is the island's leading voice for gay rights.
The country has even emptied its prisons of internationally recognized "prisoners of conscience," but political opposition can still mean frequent trips to a police station, allegations of treason, confrontations with government supporters or loss of a state job — no small matter in a socialist state where the government controls most jobs and all the news media.
Oliva's troubles began after his now ex-wife, also an artist, was prevented from putting up a series of public installations critical of the government on International Human Rights Day last December. In what is known on the island as an "act of repudiation," a crowd of government supporters gathered outside Yamilia Perez Estrella's home, yelling insults and preventing her from leaving. The government insists the spectacles are spontaneous outpourings of patriotic indignation, though coordination with state security agents takes place in plain sight.
In response, Oliva published a letter on the website of dissident blogger Yoani Sanchez criticizing physical or psychological "violence" aimed at silencing unpopular opinions. He says his dealings with Sanchez, whom he met when she visited his workshop, marked him, as did his calls for political diversity on an island where the Communist Party is the only one allowed.
"The very act of saying I think there should be other parties in the country ... that's where the line was totally crossed, was ruptured," Oliva told the Associated Press at his home studio, its walls adorned with mischievous yet tender portraits of Fidel Castro from his series "The Great Grandfather."
Milanes has often tested the limits of what officials will swallow. In a 2008 interview with the Spanish newspaper Publico, he suggested that Raul Castro is too old to run Cuba: "I don't trust in any Cuban official who is more than 75 years old."
And this year, he told journalists in Florida that a dissident group has a right to protest.
"The most vile and cowardly thing is for a horde of supposed revolutionaries to ruthlessly attack these women," Milanes wrote. This "does not mean I disagree with Fidel (Castro), nor does it mean I agree with the Ladies in White."
A column on state-run website Cubadebate chided Milanes for what it called his erratic opinions and speculated he was suffering a deep personal crisis. But officials have not moved to stop the international star from giving concert tours around the world.
Milanes, who has written odes to Che Guevara, still clearly considers himself a socialist.
"My 53 years of revolutionary militancy give me the right, which very few exercise in Cuba, to express myself with the freedom that my principles require," Milanes said.
Cuban media may have given a hint of one do-not-cross line when the labor newspaper Trabajadores published an interview with Rodriguez in which he urged a more democratic socialism, eased restrictions on travel, better environmental protection and less discrimination.
The complete transcript later posted on Rodriguez's blog showed Trabajadores had cut some of his more controversial sentiments, such as "I hope if someone protests for something that we don't agree with, we have enough dignity to respect their right to express themselves."
Cuba has a deeply ingrained "fortress under siege" hostility to speech that might give ammunition to the enemy dating back to the struggle to break free from Spain in the 1890s, Lopez Levy said.
That bunker mentality sharpened after the 1959 Cuban Revolution and the start of U.S. efforts to oust Fidel and Raul Castro. Officials often say the need to present a united front justifies the prohibition of a free local media on the island.
"Prevention of expressing certain views is not only tolerated but I would say supported by the general population" in a way that seems unfamiliar to Americans who cherish their First Amendment rights, Lopez Levy said. "I can't think of a time in the United States when somebody came to me and said: 'You know what, this is true but he shouldn't have said it.' It's very unusual."
Fidel Castro expressed the principle in a 1961 warning to Cuba's intellectual class that excessive criticism would not be tolerated: "Within the Revolution, everything; outside the Revolution, nothing."
During "the five gray years" from 1971 to 1976 officials took a narrow view of "within the revolution." Some artists and academics were fired from their jobs and hounded into exile. Free-thinking poet Heberto Padilla was denounced, arrested and forced to make a public apology for his thoughts even after winning a major local literary award.
Since taking over the presidency, Raul Castro has repeatedly invited Cubans to openly debate his economic reforms and said people will not be punished for their opinions. The government says millions had their say during town-hall style meetings held across the island, and it says they led to changes in the plans.
At a Communist Party summit convened in April to ratify the changes, Castro even challenged the usually timid state-run media to be bolder, with "objective, constant and critical" reporting, though he immediately added a caution.
"That doesn't mean that now each of us can just grab a pen and start writing whatever we feel like," Castro said, "because he who makes mistakes must pay for it, no matter who he is. Still, we will back you up firmly."
Nonetheless, Lopez Levy said he sees increased space for criticism since Raul Castro fully took over the presidency from his older brother in 2008.
Indeed, two economists at the state-run Center for Cuban Economic Studies have suffered no public reprisals for a blunt article in a Roman Catholic Church magazine earlier this year that said the reforms were insufficient.
The Communist Party newspaper Granma has taken to running a weekly, two-page section of letters to the editor that's full of complaints about bureaucracy and suggestions on managing the economy.
But there are limits, and the line is hard to judge for even the most loyal.
Esteban Morales, an intellectual who often appeared on state television to criticize the United States, was was expelled from the Communist Party after he denounced high-level corruption in a column last year. After an outcry among Cuban intellectuals, Morales was reinstated.
Oliva, a soft-spoken, bespectacled 62-year-old, said he tries not to dwell on his expulsion. Instead he takes solace in painting, which calms the shaking in his hand from Parkinson's disease.
Oliva has not been prevented from selling his work or kicked out of the powerful Artists and Writers' Union. Even Culture Vice Minister Fernando Rojas has promised to continue working with someone he called "a man of the revolution" and "one of our greatest artists." But Oliva said doesn't expect his workshop to reopen anytime soon, since he plans to keep speaking his mind, even to foreign journalists.
"I'm going to continue having conflicts one way or another," Oliva said.