More than £300,000 has been spent by the Welsh and UK governments on three Supreme Court cases about assembly powers, the BBC has learned.
The court ruled for the Welsh government in two on which it spent under half the £160,000 the UK government did.
There has been no judgement yet in the third which cost the Welsh government nearly £70,000 and the UK one £2,000.