I've done one on a diesel, after disconnecting the hydraulic hose banjos and hoses to the PAS reservoir, there are some hard pipe clips that bolt into the inner chassis both sides at the front, get those off. There is another bolt on the top horizontal surface of the lower front crossmember and finally split the pipe holder at the front so you can separate both pipes.
After the pipes are separated, you are looking to remove the top one first by rotating down and pulling out from the front. Its all a bit fiddly but doable, the crimps and banjos do fit through the gap above the front crossmember, do the same for the lower set. A couple of swear words will see you through.
Refitting is the opposite, feed in through the front one at a time.
I got my local agricultural place to put new hoses on with compression fittings and a spare set just in case.