A Mexican flag is flying high close to one of Donald Trump's golf courses in Scotland.

The tricolor was hoisted on land next to Trump International Golf Links, near Aberdeen, on Sunday -- just days before the presumptive GOP nominee is due to visit.

The individuals behind the stunt, which was widely reported to be in protest of Trump's racist comments against Mexicans, were initially a mystery.

Someone has raised the Mexican flag on the border of Trump's wildly unpopular golf course near Aberdeen: pic.twitter.com/mXzkQeCpic — Simon Usborne (@susborne) June 21, 2016

But it has now emerged that local residents, who have been engaged in a yearslong land battle with the billionaire businessman, are responsible.

"The point of the flag is to show solidarity with the Mexicans and every other group that Trump has decried, derided, insulted and tried to marginalize," David Milne told BuzzFeed News.

"We wanted to point out that while he seems to think he can say what he likes in one place and not hear about it elsewhere, he is wrong," he added.

Reuters Donald Trump is visiting Scotland this weekend to open the Trump Turnberry resort, which he bought in 2014.

Trump has described the North Sea golfing resort, which opened in 2012, as “spectacular” and as having “the greatest links course in the world." However, not everyone has been so thrilled by it. According to the Daily Record, the billionaire overpromised on the development and jobs the project would bring to the area.

Trump touches down in Britain on Friday to officially open the Trump Turnberry resort in Ayrshire, which he bought for a reported price of about $51 million in 2014 and has since been renovating. He is then scheduled to fly to Aberdeen to visit the Links, which may or may not still be bordered by the flag.

Editor's note: Donald Trump regularly incites political violence and is a serial liar, rampant xenophobe, racist, misogynist and birther who has repeatedly pledged to ban all Muslims -- 1.6 billion members of an entire religion -- from entering the U.S.