The line comes from the oil filter adapter housing? It probably does have to be disconnected. Try not to bend it.
The cooler is bolted to the side of the block and should unbolt. If a bolt isn't accessible you may have to move what is in the way.
What is wrong with the oil cooler?