The Chinese Communist Party sent a pointed message to Christian Bale recently: You will not work in this town again.
The movie star's attempt to visit a prominent Chinese dissident under house arrest ended in a televised scuffle with plainclothes police and a chiding from authorities in December.
"If he wants to create news, I don't think that would be welcome in China," Foreign Ministry spokesman Liu Weimin said of Bale, who had been in Beijing for the opening of his film "The Flowers of War."
The Bale dust-up was the latest collision between Hollywood heavyweights and autocratic China. These days, the lure of the world's fastest-growing entertainment market is irresistible to productions from abroad, and China is eager to entice them for the cachet that comes with having global movie stars pump up the domestic film industry.
On Friday morning in downtown Los Angeles, Chinese Vice President Xi Jinping is scheduled to attend the formal unveiling of plans by DreamWorks to build an animation studio in Shanghai in partnership with two Chinese state-owned media companies.
But such shared interests can sometimes run aground on political sensitivities. Performers and production companies that don't tread carefully can find themselves in trouble with Chinese officials, or conversely find themselves criticized by human rights groups for being too soft.
Hollywood movie studio Relativity Media was threatened with a boycott by rights groups after it shot a scene for a comedy, "21 and Over," in Linyi, a city in Shandong province, where local officials have been holding the blind activist Chen Guangcheng under house arrest and brutalizing his supporters. The company has said it didn't know that when it added the scene at the behest of a Chinese financial partner.
On the other hand, it was an attempt to see Chen on Dec. 15 that got Bale in trouble with authorities. The actor, traveling with a CNN crew, had driven 12 hours from Beijing, but was stopped, roughed up and forced to leave town.
People who know Bale, who has been more involved in environmental than political issues, believe he was trying to counter the perception that he had been co-opted by the Chinese government by appearing in "The Flowers of War." A spokeswoman for the film said Bale would not comment, and his publicists did not return telephone calls.
The film, directed by Zhang Yimou, one of the government's favorite directors, has been criticized as an overly propagandistic depiction of the Japanese occupation of Nanjing in 1937.
Beijing doesn't exactly maintain a blacklist, at least as Americans might know the concept from the McCarthy era. But there are many Hollywood stars who are unwelcome here, more often for behavior off screen than on.
Richard Gere is persona non grata for his longtime activism on behalf of Tibetan independence. Sharon Stone's films have not been shown since her offhand remark at the 2008 Cannes Film Festival suggesting that a devastating earthquake in China that year was "karma" in retribution for the treatment of Tibetans.
Steven Spielberg was one of the first Hollywood directors to work in China, going to Shanghai to shoot 1987's "Empire of the Sun," which featured a young Christian Bale. But Spielberg also fell from grace after withdrawing as an artistic advisor to the 2008 Beijing Olympics in protest of Chinese policy in Sudan. His films are still shown here, but he hasn't been invited back.
All performances in China need government approval, but the rules are not clearly spelled out, adding an extra element of anxiety.
"We have never been told explicitly, 'Don't do X, Y or Z,' by our Chinese partners,'" said Alison Friedman, head of Beijing-based Ping Pong Productions, which imports cultural events to China. "But you do want to make sure your performers know this is not the time to wear your 'Free Tibet' T-shirt."
Janet Yang, an American film producer who has worked in China since the 1980s, recalls that when she assisted Spielberg on "Empire of the Sun," she was worried that somebody would spark an incident.
"I felt the need to write a long memo to the cast and crew discussing what I thought were China-specific manners: courtesy, showing respect, what is acceptable and not," Yang recalls.
For her forthcoming film, "Shanghai Calling," about a Wall Street lawyer who moves to China, Yang said she felt no need to prep the cast except to advise an actress who is an active blogger to be careful about what she wrote.
"There is so much more leeway nowadays about what is acceptable," Yang said. "But still, China is not for the faint of heart."
In recent months, Beijing has seen a steady parade of top American performers, some of whom appear here without being paid.
Actress Meryl Streep and director Joel Coen visited in November as part of a U.S.-China Forum on the Arts and Culture, sponsored by the Asia Society and Aspen Institute. The next month, rapper will.i.am gave a free concert in Beijing to promote a program to bring American students here for Chinese studies.
"This is the market. This is the future," said Chinese American entertainer Allan Wu, who performed with will.i.am. "Instead of the Wild, Wild West, you've got the Wild, Wild East. It is a gold rush."
Along with opportunity comes more potential to stumble, as more studios turn to China for co-productions or financing, as was the case with Relativity. Last week, the Chinese government announced that it is setting up a new venture with offices in Beijing and Beverly Hills.
Box-office receipts in China topped $2 billion last year, up nearly 30% from 2010, with foreign films making up nearly half the tally.
Some entertainment companies seeking a share of the lucrative Chinese market have been going to great lengths to avoid offending Beijing. For an as yet unreleased remake of the 1984 Cold War drama "Red Dawn," MGM initially cast China as the villainous invader, since there was no longer a Soviet Union. But after negative editorials were published in China, the filmmakers switched the enemy, making it North Korea. Scenes already shot were digitally altered to remove Chinese flags and symbols.
Tripp Vinson, one of the movie's producers, told The Times last year, "We were initially very reluctant to make any changes. But after careful consideration we constructed a way to make a scarier, smarter and more dangerous 'Red Dawn' that we believe improves the movie."
China allows only 20 foreign films to be screened in its theaters each year, so it is easy to pass over those with content deemed objectionable, including excess nudity and profanity, references to the Dalai Lama or the 1989 Tiananmen Square protests, or actors who have criticized China.
But accepting Beijing's terms has its perils as well.
Bob Dylan, who performed in Beijing and Shanghai in April, shortly after the arrest of dissident artist Ai Weiwei, was skewered in editorials around the world, accused of failing to live up to his 1960s persona as the bard of protest.
Critics were incensed that he played a program that had been preapproved by the Ministry of Culture and omitted such iconic protest songs as "The Times They Are A-Changin'" and "Blowin' in the Wind."
"The idea that the raspy troubadour of '60s freedom anthems would go to a dictatorship and not sing those anthems is a whole new kind of sellout," wrote the New York Times' Maureen Dowd.
At the time, Dylan responded on his website: "As far as censorship goes, the Chinese government had asked for the names of the songs that I would be playing. There's no logical answer to that, so we sent them the set lists from the previous 3 months. If there were any songs, verses or lines censored, nobody ever told me about it and we played all the songs that we intended to play."
As with political purges, directors and actors can be rehabilitated (Attn: Christian Bale). Disney was on the blacklist after the 1997 release of "Kundun," a biopic about the Dalai Lama. But it is now building a Disneyland in Shanghai.
Even Jean-Jacques Annaud, the French director who made "Seven Years in Tibet," another drama about the young Dalai Lama, has been invited back this year to shoot "Wolf Totem," based on a bestselling Chinese novel.
But Shanghai film critic Wu Renchu says the Chinese government is more forgiving of offenses by foreigners than by Chinese.
"These bans last for a couple of years; ultimately it is a money-driven economy and they will end up putting business first," Wu said.