Police forced their way into a Berlin building occupied by squatters to enable a fire safety inspection on Thursday that the building's residents have resisted, following clashes the previous day in which authorities say 60 officers were hurt.

The “Rigaer 94” squat in the German capital's Friedrichshain district is one of few such places left in the city amid increasing gentrification. It has been a regular flashpoint for clashes between left-wing militants and police over the years.

In an effort to forestall such clashes this week, authorities banned demonstrations in the area from mid-Wednesday until Friday night. But police said officers were pelted with stones thrown by rocks by people standing on roofs and in the street Wednesday while masked militants set up burning barricades.

Police officers stay at the entrance door to the house 'Rigaer 94' at the Rigaer Straße (Riga Street) in Berlin, Germany, Thursday, June 18, 2021. Police forced their way into a Berlin squat on Thursday to enable a fire safety inspection that the building's residents have been resisting, following clashes the previous day in which police say 60 officers were hurt. (Carsten Koalldpa via AP)

Police officers stay at the entrance door to the house 'Rigaer 94' at the Rigaer Straße (Riga Street) in Berlin, Germany, Thursday, June 18, 2021. Police forced their way into a Berlin squat on Thursday to enable a fire safety inspection that the building's residents have been resisting, following clashes the previous day in which police say 60 officers were hurt. (Carsten Koalldpa via AP)

Police used a water cannon and a bulldozer to remove the barricades.

Later Wednesday, a Berlin court dismissed objections by residents to the fire safety inspection but ruled that there was no need for the building's owner to participate.

Fire inspectors asked for police protection to enter the building on Thursday, the police department tweeted. Residents locked the door, and negotiations with their lawyers failed.

Police stay in front of the house 'Rigaer 94' at the Rigaer Straße (Riga Street) in Berlin, Germany, Thursday, June 18, 2021. Police forced their way into a Berlin squat on Thursday to enable a fire safety inspection that the building's residents have been resisting, following clashes the previous day in which police say 60 officers were hurt. (Carsten Koalldpa via AP)

Police stay in front of the house 'Rigaer 94' at the Rigaer Straße (Riga Street) in Berlin, Germany, Thursday, June 18, 2021. Police forced their way into a Berlin squat on Thursday to enable a fire safety inspection that the building's residents have been resisting, following clashes the previous day in which police say 60 officers were hurt. (Carsten Koalldpa via AP)

Officers forced their way in, German news agency dpa reported, and were greeted with what appeared to be spray from fire extinguishers.

Some 350 officers were deployed to clear the way for the inspection.