it'll work fine.
there are some differances, the 051 head is small port , 027 is large port , abf heads are small port but with shorter valve guides to help flow. with the 051 you'll loose a bit of power, the 027 will make less torqe in the lower revs but then go on to produce slightly more up top, but tbh theres not much in it.