Can you show me a situation where a UK government has done this? When have they enacted constitutional changes simply because it restricted their ability to enact policies?
EDIT: Lloyd George comes to mind. That was over 100 years ago.
One that comes to mind recently is the Irish-sea border as part of Northern Ireland Protocol spanning from Brexit.
This was challenged as being in violation of the Acts of Union 1800 (particularly Article 6, which establishes an all-UK Customs Union) but the High Court ruled that the relevant parts of the Acts of Union are "impliedly repealed" by the Withdrawal Agreement Act.
EDIT: Lloyd George comes to mind. That was over 100 years ago.