Ooer, no I don't think it is an easy one to answer, sorry. Its a good question though.
Grants can be- Capital or revenue.
Yours looks to be capital.
If its capital how would the grant be released to the P&L? Are Capital allowances being claimed against the capital expenditure items? AIA perhaps?
The grant could affect this.
Sorry can't help much but thought a reply might help so you know its not just being ignored