The Supreme Court has now published its written judgment in the case of the Kensington Primary School student who was denied access because of her dreadlocked hair.