"Refuse" is an action verb, "Dislike" is a stative verb. The infinitive phrase ("to allow") serves as a complement to the verb "refuse," forming a grammatically correct structure. refusare = deny.
I wasn't saying it was grammatically incorrect, just that it was a very bloated and roundabout expression instead of saying something simpler like "the court refuses the merger".