Are you sure the aircraft lost green and blue hydraulic systems?
There are documented cases of green system leaking fluid below 1,500’ resulting in the under carriage not retracting. See here for an explanation and subsequent service bulletin:
https://safetyfirst.airbus.com/app/t...aulic-loss.pdf