For our purposes we need to find at the least one case when a 50th percentile and the median aren't the same thing. I will present three such cases.
Here the first case (proof) goes as this: Suppose we have set of numbers {1,2,3}. Its median is 2. But 2 is NOT a 50th percentile because 2 isn't a percentile at all, it's a tertile. It has 1/3 of datapoints below it and 2/3 of datapoints below or equal to it.
The second proof: Suppose we have set of numbers {1,2,3,4,5}. Its median is 3. But 3 is NOT a 50th percentile. For the inclusive definition of a percentile it's a 60th percentile, while for the exclusive definition it's a 40th percentile.
The third proof: Suppose we have a set of numbers {0,10}. Its median is 5. And it's also a 50th percentile. But there are other 50th percentiles that aren't equal to 5 (and thus, aren't medians), namely any number in interval [0;10) for the inclusive defintion of a percentile and any number in interval (0;10] for exclusive definition of a percentile.
Turns out, that there are at the least 8 ways to calculate a percentile (probably even more)
I found this calculator that calculates percentiles in 8 different ways for the same dataset: https://www.wessa.net/rwasp_percentiles.wasp
I was unable to make calculations for {1,2,3} and {0,10}, probably they were too small. But I was able to make calculations for similar sets, {1,2,3,4,5,6,7,8,9} and {0,1,2,3,4,5,6,7,8,9} respectively.
Turns out that I'm both right and wrong in my examples. For some methods the median is indeed different from the 50th percentile, while for some it is equal to the median.
Let's review the results. For an analogue of the first case, set {1,2,3,4,5,6,7,8,9}, I got following results (the median is 5):
It seems like the methods used to calculate the 50th percentile are based on definitions of percentiles that allow to percentiles to exist even for such set as {1,2,3,4,5,6,7,8,9}. I have no idea what these definitions are though.
Now the second case, set {1,2,3,4,5} and the median is 3:
Only one method gave 50th percentile different from the median.
Now the third case, set {0,1,2,3,4,5,6,7,8,9} and the median is 4.5
3 methods gave result different from the median.
So, to summarize it all: Some methods can sometimes give the 50th percentile that is different from the median. Some methods never give 50th percentile that is different from the median. Some methods (I'm looking at you, "Weighted Average at Xnp"!) always give 50th percentile result that is different from the median. But even when 50th percentile is different from the median, the difference is relatively small. Probably the difference can be ignored altogether.