What a royal​ headache​.

The British government is in a tizzy that Prince Harry and fiancée Meghan Markle will invite former President Barack Obama to their spring wedding and fears that President Trump will take it as a snub and ​cause relations between the two allies ​to chill ​even further, according to a report Tuesday.

“Harry has made it clear he wants the Obamas at the wedding, so it’s causing a lot of nervousness,” the Sun reported, citing a senior government official. “Trump could react very badly if the Obamas get to a ​royal wedding before he has had a chance to meet the Queen.”

The relationship between Trump and British Prime Minister Theresa May has been a rocky one, with the leaders lashing out at one another during a number of controversies.

Most recently, May chastised Trump, calling him “wrong” for retweeting anti-Muslim videos posted by a far-right British group​ in November​.

And while the prince bonded with the Obamas​ during the ​Invictus Games in September in Toronto, his bride-to-be referred to Trump during the 2016 presidential campaign as “divisive” and “misogynistic.”

The Sun reported that May, who​se​ invitation to Trump to come to England for a state visit was met with protests​ and petitions against it​, could have the final word​ on whether the president will be on the guest list for the May 19 wedding​.

“Conversations are ongoing about and ministers will eventually have to decide. If the PM lays down the law, Harry will just have to suck it up,”​ ​the British tabloid reported.

Ob​ama and his wife, Michelle, were not invited to Prince William and Kate Middleton’s wedding in 2011. ​