Are there any wires hidden up inside the ceiling? With only one red, two blacks and one earth I can‘t see how the bathroom light would be affected.
The most logical explanation (but by no means the only one) would be that red is the switched live, the blacks are neutrals and two permanent lives...