Legal experts had warned that inventors and designers based in Scotland could lose out as a result of planned changes to the law.
In future a unified patent court will hear patent cases.
There will be up to four divisional courts in the UK - but there were originally no plans to have one in Scotland.
The Law Society of Scotland and the Faculty of Advocates had urged UK ministers to step in and change the law.
That has now happened, with Scotland's Court of Session being appointed as a venue for these claims, provided there is enough demand.
Gill Grassie, a member of the Law Society of Scotland's intellectual property law committee said: "We are delighted that the UK government has listened to our concerns.
"This is an important and very welcome step towards the goal that we have been aiming to achieve for the benefit of Scotland's IP rich business community.
"If we can secure the ultimate realisation of this goal sooner rather than later this will give businesses in Scotland, which rely upon patents to protect valuable technologies and innovation, assurance that they will be able to enforce and defend their rights in future in a local court.
"Thus they will be enabled to secure the benefits this will give in terms of costs savings, convenience and certainty."
The SNP's Pete Wishart, who had campaigned for the change, said it means inventors in Scotland will no longer have to go to a more distant court in London or Europe to enforce their rights.
He said: "This is a fantastic victory for the legal establishment in Scotland.  I raised these concerns through all stages of the intellectual Property Bill and am very pleased that in response to my amendments today the UK government have said that we can secure a divisional court if we can demonstrate demand.
"Not only is there demand in Scotland but there is also centuries of experience, skills and expertise in dealing with patent case in Scotland.
"It would have been patently absurd for Scotland to be denied a divisional patent court with our tradition of invention and creativity and this is great news for all businesses associated with developing our creative economy in Scotland."
Last year, countries across Europe backed the changes to patent laws designed to help inventors protect their ideas right across the continent.

Radwan Hamed collapsed during a game in Belgium in 2006. Last year a judge ruled Spurs breached its duties to him.
In a screening prior to signing for the club, an electrocardiogram test showed his heart was "unequivocally abnormal" but he was not stopped from playing.
The club regretted a former employee had been remiss in their duties.
In a statement, the family of Mr Hamed, who is now 27, said they were "relieved" a settlement had been reached, following a decade-long legal battle .
"Just as Radwan had no choice but to start his difficult journey towards recovery, we had no choice but to start the difficult journey to obtain justice," they said.
"We risked losing our home and faced personal financial ruin in order to pursue justice for our son.
"The club did not tell us or Radwan about his potentially fatal condition. Had they done so, Radwan would not have continued to play football."
The teenager collapsed during the game against Cercle Bruges on 4 August 2006 and was rushed to an intensive care unit but suffered oxygen starvation to his brain.
In the 2015 hearing, Mr Justice Hickinbottom ruled the club was 70% liable or Mr Hamed's injuries and Dr Peter Mills, the Football Association's regional cardiologist for South East England, was 30% liable.
The Premier League club will not be hit with a fee directly as their 70% portion was incurred by physicians they previously employed, who have agreed to indemnify the club.
Football Association rules require all football academy recruits to be referred to a cardiologist to help identify those prone to potentially fatal heart conditions.
Mr Hamed's MRI scan showed no obvious signs of hypertrophic cardiomyopathy, but Dr Mills wrote to Spurs saying the condition could not be excluded on these findings alone.
Eleven months later, the teenager, who was unaware his tests had revealed an "abnormal" heart condition, signed a contract with Spurs.
A spokesman for Spurs said: "The club wholeheartedly regrets that a former employee, as adjudged, was remiss in their duties to Radwan.
"This judgment will hopefully now secure the best possible treatment and care for him."
The UK government has announced that Scotland's Court of Session will now be able to hear new patent cases.
[NEXT_CONCEPT]
A Tottenham Hotspur youth player has agreed to damages, believed to be £7m, after he was left brain damaged from a cardiac arrest on his debut.