Hi Guys & good evening,first post so be gentle

I stupidly overheated my X5 and on removing the head found a crack (no surprise there) So after hunting round for another cylinder head ive found that the oem number 1436793 (which is the same as mine) & 1436812 look exactly the same even though they have been removed from different Litre engines.Can anyone confirm if they are the same as i can get hold of a machined & pressure treated head from a 2004 E46 325i M54B25
I am still waiting for the seller to email me the oem number but would like to know if this is compatible with my X5
Any help greatly appreciated