Melania Trump reportedly trapped inside Hamburg hotel by G-20 protesters

Melania Trump is unable to join other spouses gathered for the G-20 summit due to violent protests taking place outside her hotel in Hamburg, Germany, her spokeswoman told German news outlet Focus on Friday.

The first lady was not able to get security clearance to leave her hotel to attend an event put together by German Chancellor Angela Merkel's husband due to widespread violent clashes happening in the city.

"We have no security clearance from the police to leave the guesthouse," Trump's spokeswoman told Focus, adding that the situation was "unfortunate."

SEE: Ivanka, Melania join President Trump on second foreign trip:

It is traditional for the spouses of world leaders attending international summits to also get together while summit attendees are in meetings.

Friday's program was set to include a river cruise, lunch and a tour of a climate change center in Hamburg.

Melania Trump tweeted about the protests on Friday to wish those injured in the riots well, writing, "Thinking of those hurt in #Hamburg protests. Hope everyone stay safe! #G20"

The first lady did make a public appearance in Poland on Thursday when she delivered brief remarks before President Trump's address.

"As many of you know, a main focus of my husband's presidency is safety and security of the American people. I think all of us can agree people should be able to live their lives without fear, no matter what country they live in," the first lady said, in part. "That is my wish for all of us around the world."

German police used water cannons to disperse around 500 protesters in Hamburg on Thursday night ahead of the two-day summit.

Tens of thousands of protesters are expected to march in the city this week against globalization and what they believe is corporate greed and a failure to tackle climate change.

Photos of the protests: