Please please keep any confrontation with this upstairs person out of the equation. Contact relevant authorities to enact a 'noise abatement order'. Everyone deserves to have quiet enjoyment of their living space, however... This man may argue that he deserves to listen to his music for relaxation, which is true...but within the law and not at ungodly hours that cause disruption to his neighbours.
Going through the proper channels may take longer, but coming to an agreement where you can both enjoy your living space needs to be the goal.