As the UK faces legal action in Europe over migrant benefits, a Government spokesman has said the right to reside test was a "vital and fair tool" to ensure benefits are only paid to people who are legally allowed to live in Britain.
It is absolutely imperative that we do all we can to protect our benefits system from abuse by migrants.
The 'right to reside' part of our habitual residence test is a vital and fair tool to ensure that benefits are only paid to people who are legally allowed to live in Britain.
We have always been clear that we believe our rules are in line with EU law.
The European Union is taking Britain to court over migrants' entitlement to benefits.
The European Commission believes Britain is flouting EU rules by not allowing nationals from member states the same access to benefits.
It is alleged that Britain's actions could have prevented migrants working and living in the UK from claiming some benefits.
Details of the legal action will be announced later today.