It usually means that something out of your control is acting strange and you don't know or can't properly fix it, but you have found a weird workaround that should probably not even work, or an very contrived way to achieve the result.
As one obviously only writes extremely elegant code, it is important to notify the programmer coming after that you were forced to write it this way.