Dutch Prime Minister Mark Rutte has held talks with the king after his coalition government collapsed in a row over migration, triggering elections later this year.
King Willem-Alexander was out of the country on holiday when the government fell and flew back to the Netherlands to meet Mr Rutte, who is the country's longest-serving premier and has been in power since 2010.
The 56-year-old Mr Rutte drove himself in a grey stationwagon to the royal Huis Ten Bosch palace in a forest near The Hague, an AFP journalist said. He left about an hour and a half later.
"It was a good discussion but I'm not saying anything else because these discussions are confidential," Mr Rutte, the leader of the centre-right VVD party, told reporters through the open window of his car as he left.
Mr Rutte is leading a caretaker government until the elections expected in mid-November.
Ukrainian President Volodymyr Zelensky said he had called Rutte, whose government has backed Kyiv's fight against the Russian invasion, including with training for fighter jet pilots.
"I expressed support at a difficult political moment. I thanked (him) for the steadfast principled stand of the Netherlands", Zelensky said on Twitter.
He added that they had "coordinated positions" ahead of a NATO summit in Vilnius next week.
The crisis in Dutch politics came after Mr Rutte's conservative VVD party pushed to limit the flow of asylum seekers to the Netherlands.
Tensions came to a head this week, when Mr Rutte demanded support for a proposal to limit the arrival of children of war refugees who are already in the Netherlands and to make families wait at least two years before they can be reunited.
This latest proposal was opposed by the small Christian Union and liberal D66, causing a stalemate and ultimately the collapse of government.
As head of state, King Willem-Alexander is expected to ask Mr Rutte's coalition to stay on as a caretaker government until a new administration is formed after new elections, a process which in the fractured Dutch political landscape usually takes months.
Not since the 2015-2016 migration crisis has immigration been such a fault line in European politics.
Support for Germany's far right AfD has surged over the last six months. And in Spain polls suggest far right Vox party could enter government following the snap elections later this month.
In the Netherlands, migration is somewhat overshadowed by farmers' protests against government plans to limit nitrogen emissions, a policy they say will spell the end of many farms.
Farmers' protest party BBB became the biggest party in the March provincial elections which determine the make-up of the Dutch senate.
In the latest Ipsos poll, carried out a week before the government collapse, Mr Rutte's VVD is projected to remain the biggest party in the 150-seat parliament with 28 seats.
However BBB is predicted to surge from just one seat now to 23, making it the second largest party in parliament.
While BBB is mostly focused on the government's nitrogen emissions plans it also supports a stricter migration policy and has suggested a possible yearly cap of 15,000 asylum seekers.
The Netherlands already has a one of Europe's toughest immigration policies.
Asylum applications in the Netherlands jumped by a third last year to over 46,000, and the government has projected they could increase to more than 70,000 this year- topping the previous high of 2015.