Computer and video games can include swastikas and other Nazi symbols, a German industry body said on Thursday, according to AFP.

The decision was made after a heated debate over the “Wolfenstein” franchise in which gamers battle Third Reich forces.

The game was previously deemed to have fallen foul of the German criminal code, which bars any depiction of so-called “anti-constitutional” symbols, including Nazi swastikas.

Accordingly, in “Wolfenstein II”, images of Nazi leader Adolf Hitler were doctored to remove his moustache and the swastika in the Nazi flag was replaced with a triangular symbol.

This sparked an uproar in the gaming community, prompting calls for games to be treated like films.

Because movies are deemed works of art, they are exempt from the ban, similar to material used in research, historical or scientific purposes. Films set in the World War II-era, for instance, are allowed to be screened in Germany with Nazi symbols.

The Entertainment Software Self-Regulation Body (USK) said video games will in future be examined as to whether they constitute such exceptions.

The industry body, which is responsible for providing age ratings on video games, made the decision after it was tasked to determine what is socially permissible in video games by Germany’s youth protection services.

“Through the change in the interpretation of the law, games that critically look at current affairs can for the first time be given a USK age rating,” said Elisabeth Secker, USK managing director, according to AFP.

“This has long been the case for films and with regards to the freedom of the arts, this is now rightly also the case with computer and video games,” she added, noting USK will perform its new task responsibly.

In April, a theater in southern Germany came under investigation after it offered free admission to theatergoers wearing swastikas, and asked customers who paid for their tickets to wear Stars of David.

The decision on Nazi symbols in computer and video games came following the publication of data indicating that the number of attacks on Jews in Germany during the first half of 2018 increased 10% over the same period last year.

There were 401 officially reported attacks on Jews in Germany from January through June, according to government data. The vast majority, 87%, came from Germans. One-fifth were committed in Berlin, according to the data.