Prince Harry's immigration files must be made public by this Tuesday, a US court has ruled.