Hearts will join other Scottish clubs in Rangers and Celtic by carrying out the UEFA order.