I would add comment in the code that explains this is a temporary workaround and will be removed (so others do not try to rely on it).